• JMeter使用中遇到的问题:Jmeter Debug


    转载自 http://www.cnblogs.com/yangxia-test

    启动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,因些建议,在使用JMeter时,JDK的环境为1.6.

  • 相关阅读:
    我与solr(二)--导入mysql数据库
    Android 渐变效果
    希尔排序
    插入排序
    选择排序
    冒泡排序法
    QT仿QQ页面
    Colliding Mice
    QTablewidget通过代理实现限制输入
    QT绘制心形图案二
  • 原文地址:https://www.cnblogs.com/hc1020/p/7600194.html
Copyright © 2020-2023  润新知