how to generate thread dump java on out of memory error

Posted by Jigar on Stack Overflow See other posts from Stack Overflow or by Jigar
Published on 2010-05-07T10:57:44Z Indexed on 2010/05/07 11:18 UTC
Read the original article Hit count: 337

Filed under:
|
|
  • does java 6 generate thread dump in addition to heap dump (java_pid14941.hprof)

  • this is what happened to one of my applications.

    java.lang.OutOfMemoryError: GC overhead limit exceeded Dumping heap to java_pid14941.hprof ...

  • I did find ava_pid14941.hprof in working directory, but didn't find any file which contains thread dump. I need to know what all the threads were doing when I got this OutOfMemory error.

  • Is there any configuration option which will generate thread dump in addition to heap dump on out of memory exception?

© Stack Overflow or respective owner

Related posts about jvm-crash

Related posts about crash-dumps