I am getting this error: “jmeter.control.GenericController: StackOverflowError detected” when I run my test. I am not able to understand why i’m getting this error.
I read a similar question on JMeter’s forum where someone has suggested to increase the ThreadStackSize to 4096. I’m running the test in Jmeter’s GUI mode. Where exactly should I change the ThreadStackSize? Is there some file in Jmeter’s /bin directory where I can change this property?
Look into your JMETER_HOME/bin dir, find there either
jmeterfile (unix shell – in case you are working with any unix/linux) orjmeter.bat(windows bat-file – in case you are using windows os).In both your can find strings like:
that define values of jmeter’s JVM params.
Simply add -XX:ThreadStackSize=4096 to any of these variables like
or even
and restart your jmeter instance.