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

 

posted on 2013-05-14 12:12  老游条  阅读(457)  评论(0编辑  收藏  举报