启动Jmeter.bat的程序时,出现以下出错信息:

 

Unrecognized VM option '+HeapDumpOnOutOfMemoryError'

Could not create the Java virtual machine.

errorlevel=1

请按任意键继续. . .

 

上网查了一下,可以用以下方法解决:

编辑jmeter.bat文件,将set DUMP=-XX:+HeapDumpOnOutOfMemoryError注释掉。

 

另外,还查了一下原因。

是因为老板机器用的是1.5的jdk环境,网上的大牛们说:

 

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.

 

所以呢,还有一个方法是可以解决的,就是升级你的jdk环境到1.6罗。

相关文章:

  • 2022-12-23
  • 2021-05-27
  • 2021-09-04
  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-04
猜你喜欢
  • 2021-08-13
  • 2022-12-23
  • 2021-07-25
  • 2022-12-23
  • 2021-09-17
  • 2021-10-25
  • 2021-12-29
相关资源
相似解决方案