JVM heap dump objects without links

I have an application that uses a lot more expected short-lived objects, which causes significant performance issues that I need to solve. To give you an idea of ​​the extent of the problem, the Eden space jumps from 200 to 1800 mb 10 seconds before the garbage collection starts again and returns Eden again. I took 2 piles heaps, one immediately after the GC and one until the next run. I want to analyze them and see that the objects are without links, so I can find the source of the problem, however, when I load heap heaps in eclipse or netbeans, both seem to delete the data associated with the objects without links and just show 200 mb of reference objects in the application at this time. Does anyone know a tool / way for me to analyze a heap dump to see what objects are without links?

Thank,

James

+3
source share
4 answers

The last time I debugged such a problem, I used http://www.yourkit.com/ , which helped me a lot.

+2
source

I don't know a tool for analyzing heap dumps, but jvisualvm , which comes with the jdk distribution, has a pretty good memory profiler that I used to debug similar problems. It should be in your bin jdk directory.

+1
source

, , IBM Heap Analzyer

, IBM SDK , , , ?

+1

Perhaps a bar chart of inaccessible objects is available in Eclipse Memory Analyzer can help you. You can also try enabling -keep_unreachable_objectsas indicated in the FAQ.

+1
source

Source: https://habr.com/ru/post/1773497/


All Articles