uCosminexus Application Server, Maintenance and Migration Guide

[Contents][Glossary][Index][Back][Next]

4.7.4 Precautions to be taken when class-wise statistical information is output in the thread dump

If XX:+HitachiOutOfMemoryAbortThreadDumpWithJHeapProf is set up in the JavaVM startup option, a class-wise statistical information is output in the thread dump when forced termination is performed using OutOfMemoryError.

When you use large number of heap (Java heap, Explicit heap, or Perm heap), it takes time to output the class-wise statistical information in the thread dump. Therefore, when OutOfMemoryError occurs, a JavaVM might not be able to be recovered at once if terminated forcibly.

Note
If the following startup options of JavaVM are not set, the class-wise statistical information is not output in the thread dump:
  • -XX:+HitachiOutOfMemoryAbort
  • -XX:+HitachiOutOfMemoryAbortThreadDump
  • -XX:+HitachiThreadDump