This discussion is archived
1 Reply Latest reply: Apr 10, 2012 6:52 AM by tschodt RSS

Generate heap file fail

844028 Newbie
Currently Being Moderated
Hi

I'm trying to generate heap file for about 500MB of RAM. But it alsway shows the message

file size limit

i use the command:

jmap -dump:file=out.dump,format=b 3059

And this file can not be opened in MAT. it gets plain text with error character encoding.

Can anyone help me?

Thanks and best regards.
  • 1. Re: Generate heap file fail
    tschodt Pro
    Currently Being Moderated
    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

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points