Its the same problem though - you miss any updates the JMeter team may make to this file - you need the ability to override values which seems to be a generic enhancement to make
On Sun, Aug 17, 2014 at 3:52 PM, Tim Koopmans <[email protected]> wrote: > it's just a jar file that you ultimately need to run -- so roll your own > startup script? > > java -server -Xms8192m -Xmx8192m -XX:NewSize=2048m > -XX:MaxNewSize=2048m -XX:MaxTenuringThreshold=2 -XX:MaxPermSize=128m > -XX:PermSize=64m -Xmn100M .... -jar > /usr/share/jmeter-2.11/bin/ApacheJMeter.jar -q /tmp/jmeter.properties > -n -t /var/log/flood/files/demo.jmx -j > /var/log/flood/stdout/fYI1KtiftzUn7nfVQY3ZMQ.log -l > /var/log/flood/jmeter/jmeter.log ... etc > > > > Tim Koopmans > +61 3 9221 6309 > > [image: Flood IO Pty Ltd] <https://flood.io> > > Level 27, 101 Collins Street > Melbourne, Vic 3000 > > > > > On Mon, Aug 18, 2014 at 2:34 AM, Adrian Speteanu <[email protected]> > wrote: > > > I think on windows you can create a shortcut and specify command line > > parameters that the app should take. The shortcut wouldn't depend on > > version upgrades, if they use the same location. > > > > However, any "automation" setup should be able to handle a basic > > requirement such as passing runtime parameters to the applications they > are > > executing. So, maybe you should find a way to send those parameters from > > whatever tool you are using to automate the start of JMeter. > > > > Adrian > > > > > > On Sat, Aug 16, 2014 at 12:51 AM, Deepak Shetty <[email protected]> > wrote: > > > > > you could probably also use something like > > > http://www.programmerplanet.org/projects/jmeter-ant-task/ > > > > > > > > > On Fri, Aug 15, 2014 at 2:18 PM, Deepak Shetty <[email protected]> > > wrote: > > > > > > > you probably need to raise a bugzilla (you might try adding it to > > > JVM_ARGS > > > > and see if the last option wins i.e. the option will come twice , but > > > this > > > > would likely be fragile) > > > > > > > > > > > > On Fri, Aug 15, 2014 at 1:53 PM, albert_newton < > > [email protected]> > > > > wrote: > > > > > > > >> 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 > > > >> system.properties or jmeter.properties 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: > > > >> > > > > > > http://jmeter.512774.n5.nabble.com/How-to-increase-the-JMeter-heap-size-without-modifying-the-jmeter-bat-file-tp5720849.html > > > >> Sent from the JMeter - User mailing list archive at Nabble.com. > > > >> > > > >> > --------------------------------------------------------------------- > > > >> To unsubscribe, e-mail: [email protected] > > > >> For additional commands, e-mail: [email protected] > > > >> > > > >> > > > > > > > > > >
