Question

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?

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top