hello, I am new user to Gatling and I am trying evaluate the tool for our performance testing, After installing gatling I am trying to run gatling.bat on windows and I get this error
C:\gatling-charts-highcharts-bundle-2.2.3\bin>gatling.bat
GATLING_HOME is set to “C:\gatling-charts-highcharts-bundle-2.2.3”
JAVA = ““C:\Program Files\Java\jdk1.8.0_121\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 . . .
The version of gatling installed is 2.2.3
Hello,
I would suggest you to increase the maximum heap size of the JVM to 1536m.
In gatling.bat, find the “-Xmx1G” parameter and replace it to “-Xmx1536m”. In the latest release, it is on line 45.
Hi Stephen, many thanks for your quick reply. The application is launching now
Now I am getting this error…
C:\gatling-charts-highcharts-bundle-2.2.3\bin>gatling.bat
GATLING_HOME is set to “C:\gatling-charts-highcharts-bundle-2.2.3”
JAVA = ““C:\Program Files\Java\jdk1.8.0_121\bin\java.exe””
Error occurred during initialization of VM
Could not reserve enough space for 1572864KB object heap
Error occurred during initialization of VM
Could not reserve enough space for 1572864KB object heap
The application launched once only after setting the switch -Xmx1536m in gatling.bat
The machine I am using is 32-bit
I tired setting ENV variable, but no luck
Variables->New: Variable name: _JAVA_OPTIONS
Variable value: -Xmx1536m
A 32-bit jvm supports a 1.5gb heap.
How much free memory is there on your machine before starting Gatling?
Please tell us you've checked this?
There’s your problem then…
I have 67.8GB free space in my machine.
but it shows
GATLING_HOME is set to “C:\gatling-charts-highcharts-bundle-2.3.1”
JAVA = ““C:\opt\isv\Devtools\jdk1.8.45\bin\java.exe””
Error occurred during initialization of VM
Could not reserve enough space for 1048576KB object heap
There is no simulation script. Please check that your scripts are in user-files/
simulations
Press any key to continue . . .
how can I resolve this issue.?
scala file created listed in user files\Simulation