I am using jdk64 and my java version is "1.6.0_24". My tomcat works with -Xmx7196m and jvisualvm works with -J-Xms2048m -J-Xmx3072m. I took a bunch of heaps of my tomcat java process and my file size .hprofis about 5.5 GB. When I try to open this heap heap, it just got stuck on the screen Loading Heap Dump....
I also looked at the consumption of the VisualVM heap while it tries to open the heap heap, but it's approximately 500 MB.
NOTE: I looked at jvisualvm: it’s stuck on the “Loading dump heap” screen , but it is different and does not concern my question.
source
share