Java Heap Dump error - Metadata does not appear to be polymorphic

后端 未结 4 394
无人共我
无人共我 2021-01-03 18:22

I get this Stacktrace when trying to take a heap dump from a running Java process. What causes this and what do I have to do to make a proper heap dump?

Dum         


        
4条回答
  •  别那么骄傲
    2021-01-03 19:01

    I had this issue on CentOS even when running as the user that started the process. What solved it for me was installing the debuginfo package corresponding to the package supplying the jmap utility.

    To install the debuginfo package, see this answer (substituting your java package for glibc). It requires getting/using the debuginfo-install utility, and making sure the CentOS-Debuginfo.repo is set up correctly and enabled.

提交回复
热议问题