Łukasz Rzeszotarski
Łukasz Rzeszotarski

Reputation: 6130

-XX:+HeapDumpOnCtrlBreak couldn't create jvm?

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?

Upvotes: 1

Views: 3265

Answers (1)

saurav
saurav

Reputation: 3462

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

Upvotes: 3

Related Questions