JMeter StackOverflow

后端 未结 4 1078
旧巷少年郎
旧巷少年郎 2021-01-22 02:23

I am using JMeter 2.11. The following parameters are defined in the jmeter.bat file :

set HEAP=-Xms512m -Xmx12144m

set PERM=-XX:PermSize=64m -XX:MaxPermSize=64m         


        
相关标签:
4条回答
  • 2021-01-22 02:47

    Just increase jmeter stack size by using -Xss option

    0 讨论(0)
  • 2021-01-22 02:54

    I believe that in the "set HEAP=-Xms512m -Xmx12144m " both values need to be the same. I think that if you would try with "set HEAP=-Xms2048m -Xmx2048m " the error will be gone.

    0 讨论(0)
  • 2021-01-22 02:59

    2014/09/16 10:31:37 WARN - jmeter.control.GenericController: StackOverflowError detected

    This error can appear when there is a logical error in your test plan. Please check carefully with adding beanshell listener for printing extra logs within Logical controller such as looping/iterating controller in your test plan.

    0 讨论(0)
  • 2021-01-22 03:09

    Issue was due to a know bug in version 2.11 :

    Listeners don't show iteration counts when a If Controller has a condition which is always false from the first iteration (see Bug 52496 ). A workaround is to add a sampler at the same level as (or superior to) the If Controller. For example a Test Action sampler with 0 wait time (which doesn't generate a sample), or a Debug Sampler with all fields set to False (to reduce the sample size).

    Also opened as:

    • https://issues.apache.org/bugzilla/show_bug.cgi?id=56160

    This bug is now fixed so will be available as 2.12

    0 讨论(0)
提交回复
热议问题