Error Occurred during initialization of VM

Hello,

I’m setting up Gatling on my laptop, i have been following the Quickstart guide and I have managed to record the computerbase scenario.

When I come to launch gatling.bat from the command line i get the following:

C:\Users\xxxx\gatling\bin>gatling.bat
GATLING_HOME is set to “C:\Users\xxxx\gatling”
JAVA = ““C:\Program Files (x86)\Java\jre1.8.0_101\bin\java.exe””
Error occurred during initialization of VM
java.lang.OutOfMemoryError: unable to create new native thread
There is no simulation script. Please check that your scripts are in user-files/simulations
Press any key to continue . . .

GATLING_HOME appears to be set correctly
JAVE_HOME appears to be set correctly

Anyone any ideas?

I’m using a windows 10 machine and i’ve downloaded Gatling 2.23

Any help is much appreciated.

No enough available memory on your laptop (because of other running apps?).

Hi Stephane,

The only thing i have running is the command prompt, memory is at 30%, when i start gatling.bat it peaks to 32% so that does not appear to be the issue.

Me the same situation, which config can we do on windows 32 bits?
Thank you.

you should increase java heap memory. try to execute using maven plugin and set jvm settings there.