문제

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.)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top