DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44348>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44348

           Summary: OutOfMemory exception
           Product: JMeter
           Version: 2.3.1
          Platform: Sun
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


We started a JMeter test using 4 threads at about 1pm on Friday to run over 
the weekend. On checking the logs it seems the test stopped about 9 hours in, 
the target server had not reported any problems and was still running as 
exepcted. jmeter.log however shos that each of the 4 threads terminated with 
an OutOfMemory exception within a few minutes of each other....

--------------------------------------------------
2008/02/01 12:54:13 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 1-
1 started 
2008/02/01 12:54:13 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 1-
2 started 
2008/02/01 12:54:13 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 1-
3 started 
2008/02/01 12:54:14 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 1-
4 started 
2008/02/01 20:40:25 ERROR - jmeter.threads.JMeterThread: Test failed! 
java.lang.OutOfMemoryError: Java heap space
        at java.io.BufferedInputStream.<init>(Unknown Source)
        at java.io.BufferedInputStream.<init>(Unknown Source)
        at org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse
(HTTPSampler.java:219)
        at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample
(HTTPSampler.java:470)
        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample
(HTTPSamplerBase.java:863)
        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample
(HTTPSamplerBase.java:849)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:300)
        at java.lang.Thread.run(Unknown Source)

2008/02/01 20:40:26 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 1-
4 is done 
2008/02/01 20:40:26 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread 
Thread Group 1-4 
2008/02/01 20:41:24 ERROR - jmeter.threads.JMeterThread: Test failed! 
java.lang.OutOfMemoryError: Java heap space
        at sun.net.www.http.ChunkedInputStream.ensureRawAvailable(Unknown 
Source)
        at sun.net.www.http.ChunkedInputStream.readAheadNonBlocking(Unknown 
Source)
        at sun.net.www.http.ChunkedInputStream.readAhead(Unknown Source)
        at sun.net.www.http.ChunkedInputStream.available(Unknown Source)
        at java.io.FilterInputStream.available(Unknown Source)
        at java.io.BufferedInputStream.read(Unknown Source)
        at java.io.FilterInputStream.read(Unknown Source)
        at org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse
(HTTPSampler.java:256)
        at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample
(HTTPSampler.java:470)
        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample
(HTTPSamplerBase.java:863)
        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample
(HTTPSamplerBase.java:849)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:300)
        at java.lang.Thread.run(Unknown Source)

2008/02/01 20:41:25 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 1-
2 is done 
2008/02/01 20:41:25 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread 
Thread Group 1-2 
2008/02/01 20:47:57 ERROR - jmeter.threads.JMeterThread: Test failed! 
java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Unknown Source)
        at java.lang.StringCoding.safeTrim(Unknown Source)
        at java.lang.StringCoding.access$100(Unknown Source)
        at java.lang.StringCoding$StringDecoder.decode(Unknown Source)
        at java.lang.StringCoding.decode(Unknown Source)
        at java.lang.String.<init>(Unknown Source)
        at java.lang.String.<init>(Unknown Source)
        at org.apache.jmeter.samplers.SampleResult.getResponseDataAsString
(SampleResult.java:515)
        at org.apache.jmeter.assertions.ResponseAssertion.evaluateResponse
(ResponseAssertion.java:273)
        at org.apache.jmeter.assertions.ResponseAssertion.getResult
(ResponseAssertion.java:175)
        at org.apache.jmeter.threads.JMeterThread.checkAssertions
(JMeterThread.java:517)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:310)
        at java.lang.Thread.run(Unknown Source)

2008/02/01 20:47:58 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 1-
3 is done 
2008/02/01 20:47:58 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread 
Thread Group 1-3 
2008/02/01 20:56:50 ERROR - jmeter.threads.JMeterThread: Test failed! 
java.lang.OutOfMemoryError: Java heap space

2008/02/01 20:56:50 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 1-
1 is done 
2008/02/01 20:56:50 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread 
Thread Group 1-1 
2008/02/01 20:56:50 INFO  - jmeter.engine.StandardJMeterEngine: Stopping test 
2008/02/01 20:56:50 INFO  - jmeter.engine.StandardJMeterEngine: Notifying test 
listeners of end of test 
2008/02/01 20:56:50 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning
(false,*local*) 
2008/02/01 20:56:50 INFO  - jmeter.engine.StandardJMeterEngine: Test has ended 
--------------------------------------------------


I'm using hte standard jmeter.bat file that comes with the JMeter 2.3.1 and 
that seems to allocate a max heap size of 256MB. The JMeter script itself 
contains a 'Response Assertion',' Assertion Results', 'View Results Tree' and 
an 'Aggregate Report'. All of the result pages are empty as none of the 
assertions failed. The Aggregate report is showing a total of 883,310 samples.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to