jmap -dump:format=b,file=heap.bin 2543
jmap -dump:live,file=28_1.log 2543
C:\Program Files\Java\jdk1.7.0_45\bin\jvisualvm.exe 装入查看;
Hunters wrote:
I'm trying to generate heap file for about 500MB of RAM. But it alsway shows the message
file size limit
On Linux?
$ ulimit -a
$ echo -e "(Hard) file size limit (blocks): \c";ulimit -Hf
$ echo -e "(Soft) file size limit (blocks): \c";ulimit -Sf
$ sudo ulimit -f unlimited