I had an issue with some long test. The test had an OOM when the report was being calculated. I'm using Gatling 2.1.6 with maven (note that it worked fine in Gatling 2.0.0).
Downloading gatling bundle, then using gatling.sh script, increasing the heap memory and using the -ro option worked fine, but I have two questions:
1- Is it possible to get the report using maven? I've been trying using gatling.reportsOnly and/or gatling.resultsFolder with different options (i.e: mvn gatling:execute -Dgatling.reportsOnly=testname-timestamp) but it is always asking to specify the simulation class and if I put a simulation class it just execute the test instead of getting the report.
2- How can I increase the heap using the maven plugin to avoid the OOM in next executions? Should I use: gatling.gatlingJvmArgs? if yes, I'm seeing that by default it has many other args, should I specify all of them to override the one I want or just passing the -Xmx will work overriding the proper parameter?