VisualVM and YourKit report different retained sizes for the same object

600 views Asked by At

I'm using JVisualVM and YourKit to analyze a heap memory dump (created using jmap) and noticed that for the same object they report two very different retained sizes! Does anybody know what the cause could be?

1

There are 1 answers

3
Tomas Hurka On

Sure, the obvious cause for this difference is a bug in VisualVM or YourKit. Can you try VisualVM 1.3.3 from http://visualvm.java.net ? If can you send me (privately) the link to your heap dump, I can investigate VisualVM part.