Java Heap Dump error – Metadata does not appear to be polymorphic
Ok, I found it. I was running the jmap command as root, but I had to run as the user that started the java process. In my case: sudo -u robau ./jmap -dump:format=b,file=/tmp/dump.bin 14984 Seems to be related to this JDK bug: https://bugs.openjdk.java.net/browse/JDK-8075773