When the JVM runs out of memory, the failing method is not necessarily
the cause of the problem, so the stack trace does not help.

On 17/11/2008, Neville Harvey <[EMAIL PROTECTED]> wrote:
> I've rerun my tests with 10 concurrent users and I've got a copy of the
>  error seen in my log file:
>
>  2008/11/17 15:00:01 ERROR - jmeter.threads.JMeterThread: Test failed!
>
> java.lang.OutOfMemoryError: Java heap space
>
>         at java.lang.String.toCharArray(Unknown Source)
>         at org.apache.oro.text.regex.Perl5Matcher.contains(Unknown
>  Source)
>         at
>  org.apache.jmeter.assertions.ResponseAssertion.evaluateResponse(Response
>  Assertion.java:329)
>         at
>  org.apache.jmeter.assertions.ResponseAssertion.getResult(ResponseAsserti
>  on.java:185)
>         at
>  org.apache.jmeter.threads.JMeterThread.checkAssertions(JMeterThread.java
>  :511)
>         at
>  org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:300)
>         at java.lang.Thread.run(Unknown Source)
>
>  Regards
>
>
>  Neville
>
>
>  -----Original Message-----
>  From: Neville Harvey
>  Sent: 17 November 2008 14:55
>  To: 'JMeter Users List'
>
> Subject: RE: JMeter version 2.3.2 java.lang.OutOfMemoryError: Java heap
>  space
>
>
> 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]

Reply via email to