Gatling 2 Eclipse OutOfMemory

I installed the Scala-Eclipse IDE and ported my scenario, which runs without problems from command line. Starting Engine with right cliché as Scala application results in a java.lang.OutOfMemoryError: Java heap space.



Any hints are welcome


Just like for a Java application, eclipse doesn’t launch Scala applications with the JVM options defined in eclipse.ini. Those are just used to launch eclipse itself.

Go in “Run configurations” > “Arguments” and configure “VM Arguments”.
Still, is using that much heap space expected? If not, my 2 cents: you’re saving a lot of data into the Sessions. Full response bodies maybe?

it works

You’re welcome.
Have fun!