Frage

When I add to the jvm parameters following one

-XX:+HeapDumpOnCtrlBreak

I'm getting an error that JVM couldn't be started.

Could not create Java virtual machine

Java version I'm using is 1.6.0_21.

What I'm doing wrong? Do I need to set up any others parameters?

War es hilfreich?

Lösung

i think it is not supported by JDK 1.6 , did you try with JDK 1.5.

For more you can refer this question.

You can achieve the same thing by using jmap introduced in JDK 1.6

Thanks

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top