1 Reply Latest reply: Apr 10, 2012 8:52 AM by tschodt RSS

    Generate heap file fail

    844028
      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
          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