Jvisualvm: Stuck on screen "Loading dump heap ..."

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.

+4
source share
5 answers

These symptoms also occurred when I tried to load a large heap heap and had a small disk space (I assume that for temporary use of files visually vm) works on a Mac. After freeing up disk space, the file loaded.

+4
source

You can try a few things:

  • Java VisualVM bundled with JDK 1.6.0_24 - several years. Try using the latest version (1.3.7) from http://visualvm.java.net .
  • VisualVM uses memory mapped files, so you don't need to run its 3G heap. I would start with a heap of 1G. How much free memory does your OS have when trying to open a heap dump?
  • VisualVM , . , .
+2

, , ; :

enter image description here

, ( v1.3.9).

0

, jvisualvm , , . (Java 7)

0

, JvisualVM .

() MAT ( Eclipse) :

'heap.hprof'. .

HPROF ( java.io.IOException)

HPROF

0
source

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


All Articles