Error Occurred during initialization of VM

458 views
Skip to first unread message

Kapil Vedhara

unread,
Nov 30, 2016, 9:31:32 AM11/30/16
to Gatling User Group
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.

Stéphane LANDELLE

unread,
Nov 30, 2016, 11:25:10 AM11/30/16
to gat...@googlegroups.com
No enough available memory on your laptop (because of other running apps?).

Stéphane Landelle
GatlingCorp CEO


--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kapil Vedhara

unread,
Nov 30, 2016, 3:13:29 PM11/30/16
to gat...@googlegroups.com
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.

--
You received this message because you are subscribed to a topic in the Google Groups "Gatling User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gatling/qSjKivB73R0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gatling+unsubscribe@googlegroups.com.

guanji wang

unread,
Nov 22, 2017, 10:19:57 AM11/22/17
to Gatling User Group
Me the same situation, which config can we do on windows 32 bits?
Thank you.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.

Ignacio Degeneffe

unread,
Nov 24, 2017, 1:29:54 PM11/24/17
to Gatling User Group
you should increase java heap memory. try to execute using maven plugin and set jvm settings there.
Reply all
Reply to author
Forward
0 new messages