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?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top