java - jvisualvm: Stuck on "Loading Heap Dump" screen -


i created heap dump file hprof using command:

java -agentlib:hprof -cp "..\..\jars\trove.jar;.\bin" com.mysite.myapp 

this created file "java.hprof.txt" 5mb. opened jvisualvm view file, , loaded in. visualvm appears stuck on loading screen. screen below has been 10 minutes now.

did miss step? should have used different options on command line hprof? how can read heap dump file?

visualvm screenshot

visualvm supports heap dumps in binary hprof format. easier use visualvm create heap dump. if not possible use visualvm, can use jmap -dump:live,format=b,file=heap.bin <pid>. advantage don't need special startup arguments , there no slow down caused hprof agent library.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -