[Reserved] problems encountered in using JMeter: Jmeter Debug - "Unrecognized VM option '+ HeapDumpOnOutOfMemoryError"

When start JMeter.bat program, the following error message:

 

Unrecognized VM option '+HeapDumpOnOutOfMemoryError'

Could not create the Java virtual machine.

errorlevel=1

Press any key to continue...

 

Internet search a bit, you can use the following solutions:

Jmeter.bat edit documents, will set DUMP = -XX: + HeapDumpOnOutOfMemoryError commented.

 

Also, check why.

Because the system had a 1.5 jdk environment, the Internet Daniel said:

 

Well, this is an unexpected one. Apparently the HeapDumpOnOutOfMemoryError option was added in JDK 1.6, and then back-ported into 1.4.2_12, 1.5.0_07. We'll document this, and discuss what to do to fix it.

 

So, there is a method to solve, is to upgrade your jdk 1.6 environment, due to some advice when using JMeter, JDK 1.6 environment.

Guess you like

Origin www.cnblogs.com/xxxs/p/11763032.html