简体   繁体   中英

java option Heap dump on out of memory

In Hotspot JVM 1.4.2, I used the option -XX:+HeapDumpOnOutOfMemoryError and it says unknown option. How do I get Heap Dump in this JVM. (I cannot migrate to JVM 6 as its a legacy application running here since years).

JVM Options state that Heap Dump option was introduced in Java 1.4.2 update 12 . Make sure you have a same or higher update of 1.4.2.

Dump heap to file when java.lang.OutOfMemoryError is thrown. Manageable. (Introduced in 1.4.2 update 12, 5.0 update 7.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM