jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From albert_newton <>
Subject How to increase the JMeter heap size without modifying the jmeter.bat file?
Date Fri, 15 Aug 2014 20:53:19 GMT
I am trying to increase the JMeter heap size to get rid of the error
'java.lang.OutOfMemoryError: PermGen space'. I know that it can be increased
in the jmeter.bat file by setting the following properties to a higher
desired number:

set HEAP=-Xms256m -Xmx512m
set PERM=-XX:PermSize=64m -XX:MaxPermSize=128m

But we are wanting to be able to set it differently ( maybe through or or something else?), so that we don't
have to modify the jmeter.bat file everytime a new version comes out (we are
basically automating the installation of JMeter in our application), and we
are trying to just override the heap size property a different way without
tinkering with the jmeter.bat file.

Does anyone have an idea of how this can be achieved?

View this message in context:
Sent from the JMeter - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message