java - HeapDumpOnOutOfMemoryError not creating hprof -
my program throws following exception:
java.lang.outofmemoryerror: unable create new native thread
but when added -xx:+heapdumponoutofmemoryerror
jvm parameters, seems jvm didn't dump heap, cause never find .hprof file. why?
see section marked "evaluation" @ bottom of bug report.
http://bugs.sun.com/view_bug.do?bug_id=6784422
the -xx:+heapdumponoutofmemoryerror
not trigger dump when cannot create new native thread.
Comments
Post a Comment