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?

Was it helpful?

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top