OK, thanks for letting us know.

I'm a bit surprised that 256m was only enough for about 9 users, but
that will depend a lot on the test plan.

The next release of JMeter will default to use "-Xms512m -Xmx512m" for
both Unix and Windows scripts, and will make it easier to override JVM
settings, i.e. it will be possible to do:

Unix:

JVM_ARGS="-Xms1024m -Xmx1024m" jmeter -t text.jmx [etc]

or Windows:

set JVM_ARGS="-Xms1024m -Xmx1024m"
jmeter etc

On 18/11/2008, Neville Harvey <[EMAIL PROTECTED]> wrote:
> I've modified the shell script and I seem to be able to run more than 9
>  concurrent users. Thank you sebb for your help. It's very much
>  appreciated.
>
>
>  -----Original Message-----
>  From: sebb [mailto:[EMAIL PROTECTED]
>
> Sent: 18 November 2008 12:24
>  To: JMeter Users List
>  Subject: Re: JMeter version 2.3.2 java.lang.OutOfMemoryError: Java heap
>  space
>
>  No, that will just set a JMeter property called HEAP.
>
>  You need to edit the jmeter shell script.
>
>
>  On 18/11/2008, Neville Harvey <[EMAIL PROTECTED]> wrote:
>  > Is this how you would set the HEAP space jmeter -n -t testname.jmx -l
>
>  > log.jtl -J HEAP="-Xms512m -Xmx512m" ?
>  >
>  >
>  >  -----Original Message-----
>  >  From: sebb [mailto:[EMAIL PROTECTED]
>  >
>  > Sent: 17 November 2008 15:07
>  >  To: JMeter Users List
>  >  Subject: Re: JMeter version 2.3.2 java.lang.OutOfMemoryError: Java
>  > heap  space
>  >
>  >  I don't think it makes much difference to the memory requirements.
>  >
>  >  Try disabling all non-essential elements, e.g. Assertions.
>  >
>  >  Have you increased the Unix heap memory as I suggested last time?
>  >
>  >  The default in 2.3.2 for the Unix script is:
>  >
>  >  HEAP="-Xms256m -Xmx256m"
>  >
>  >  On 17/11/2008, Neville Harvey <[EMAIL PROTECTED]>
>  wrote:
>  >  > I am testing HTTPS. Will this cause any problems?
>  >  >
>  >  >  Kind regards
>  >  >
>  >  >
>  >  >  Neville
>  >  >
>  >  >  -----Original Message-----
>  >  >  From: sebb [mailto:[EMAIL PROTECTED]  >  > Sent: 17 November 2008
>  > 14:52  >  To: JMeter Users List  >  Subject: Re: JMeter version 2.3.2
>  > java.lang.OutOfMemoryError: Java  > heap  space  >  >  Try increasing
>  > the heap in the Unix script.
>  >  >
>  >  >  On 17/11/2008, Neville Harvey <[EMAIL PROTECTED]>
>  >  wrote:
>  >  >  > I have no third party add-ons. I'm using HTTP Request sampler.
>  >  >  >
>  >  >  >  Regards
>  >  >  >
>  >  >  >
>  >  >  >  Neville
>  >  >  >
>  >  >  >
>  >  >  >  -----Original Message-----
>  >  >  >  From: sebb [mailto:[EMAIL PROTECTED]  >  Sent: 17 November 2008
>
>  > > 14:33  >  To: JMeter Users List  >  Subject: Re: JMeter version
>  > 2.3.2  > java.lang.OutOfMemoryError: Java  > heap  space  >  >  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]
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  >  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]
>  >  >
>  >  >
>  >  >
>  >  >  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]
>  >
>  >
>  >
>  >  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]
>
>
>
>  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]

Reply via email to