Hi, I'm not sure you should set the max heap to be 512 either: http://java.sun.com/performance/reference/whitepapers/tuning.html#section4.1.2
A good rule of thumb seems to be max 80% of physical memory, combined for all JVMs running (1 JVM @ 400M, 2 JVMs @ 200M each, etc.) Depending on the tests you intend to run, and the structure of your test plan, you may find that 400M RAM may not be enough. You shold also check out this: http://jakarta.apache.org/jmeter/usermanual/best-practices.html#lean_mean Regards, Noel ----- "vijayakumar" <[email protected]> wrote: > Thanks Noel , > > So Can I set the min size as 128 and max size as 512 as my machine memory > size is 512 . Is this okay ? > > Thanking You > With warm regards, > Vijayakumar.C > ----- Original Message ----- > From: "Noel O'Brien" <[email protected]> > To: "JMeter Users List" <[email protected]> > Sent: Friday, September 04, 2009 3:54 PM > Subject: Re: Heap size in jmeter.bat file > > > > Hi, > > > > -Xms<size> set initial Java heap size > > -Xmx<size> set maximum Java heap size > > > > If your machine only has 512 memory and you're setting the minimum JVM > > memory to 512, then either JMeter will not start or you'll get an > > OutOfMemory Error. OS and native processes already consume memory, so the > > request for a minimum of 512 (when there isn't 512 available) will not > > likely be granted > > > > Regards, > > Noel > > > > ----- "vijayakumar" <[email protected]> wrote: > >> Dear All , > >> > >> Can anyone please clearly explain what it means ? > >> > >> If I define the Heap Size in JMeter batch file as ' set > >> HEAP=-Xms512m -Xmx512m ' what will happen > >> If it is set as ' set HEAP=-Xms512m -Xmx1024m ' , what will happen ? > >> > >> My RAM Size is 512 MB . then can Iset the memory as 512 - 1024 ? > >> > >> Thank you in advance > >> > >> With warm regards, > >> Vijayakumar.C > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

