On 17/11/2008, Neville Harvey <[EMAIL PROTECTED]> wrote: > Hi > > I am running my JMeter tests in batch mode on a Unix box and I am > receiving "java.lang.OutOfMemoryError: Java heap space". My jmeter.bat > file configuration is as follows: > > set HEAP=-Xms512m -Xmx512m > set NEW=-XX:NewSize=128m -XX:MaxNewSize=128m > set SURVIVOR=-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=50% > set TENURING=-XX:MaxTenuringThreshold=2 > set EVACUATION=-XX:MaxLiveObjectEvacuationRatio=20% > set RMIGC=-Dsun.rmi.dgc.client.gcInterval=600000 > -Dsun.rmi.dgc.server.gcInterval=600000 > set PERM=-XX:PermSize=64m -XX:MaxPermSize=64m > set DEBUG=-verbose:gc -XX:+PrintTenuringDistribution
jmeter.bat is not used for Unix, you need to use the jmeter or jmeter.sh scripts > I record the test results to a csv file and I record the assertion > failures while my test is running. I have increased my HEAP settings to > 2 Gb but I can only test a maximum of 9 concurrent users before I > receive "java.lang.OutOfMemoryError: Java heap space". If anyone could > offer any suggestions it much be very much appreciated. That's very unusual to run out of space with only 9 users, especially in batch mode. Make sure you are using the minimum number of Listeners - actually, none are needed if you use the -l flag in batch mode, as is done by the jmeter-n script. What sort of samplers are you using? Are there any 3rd party add-ons? > Regards > > Neville > > Neville Harvey > Quality Engineer > > > Thomson Reuters > > Phone: 020 7542 5260 > [EMAIL PROTECTED] > > > This email was sent to you by Thomson Reuters, the global news and > information company. > Any views expressed in this message are those of the individual sender, > except where the sender specifically states them to be the views of Thomson > Reuters. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

