You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2010/03/09 14:41:14 UTC

DO NOT REPLY [Bug 48878] New: OutOfMemory unzipping certain type of response

https://issues.apache.org/bugzilla/show_bug.cgi?id=48878

           Summary: OutOfMemory unzipping certain type of response
           Product: JMeter
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: HTTP
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: p.mouawad@ubik-ingenierie.com


Hello,
Load testing an application, we get an error on some kind of content.
This happends any time during the test (10 Users or 300 or 1500).
I think this is due to corrupt response.

Monitoring memory, this does not happen when JMeter is high (when it happened
for example Used Heap was 100 Mo while available heap was 2GO)

I encountered this kind of error on a project on which I also used deflating so
I think it comes from here.


Cordially
Philippe
http://www.ubik-ingenierie.com

StackTrace:
2010/03/09 11:33:05 ERROR - jmeter.threads.JMeterThread: Test failed!
java.lang.OutOfMemoryError
    at java.util.zip.Inflater.inflateBytes(Native Method)
    at java.util.zip.Inflater.inflate(Inflater.java:223)
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:135)
    at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:92)
    at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
    at java.io.FilterInputStream.read(FilterInputStream.java:90)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.readResponse(HTTPSamplerBase.java:1462)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSampler.java:288)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:516)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageResources(HTTPSamplerBase.java:1118)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing(HTTPSamplerBase.java:1317)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:580)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:961)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:947)
    at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:348)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
    at java.lang.Thread.run(Thread.java:619)

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

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 48878] OutOfMemory unzipping certain type of response

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48878

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |Nightly (Please specify
                   |                            |date)

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> 2010-03-09 20:38:58 UTC ---
Affected versions:
TRunk of 07/03/2010
Last released version:2.3.4

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

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 48878] OutOfMemory unzipping certain type of response

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48878

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> 2010-03-10 19:40:44 UTC ---
I think bug is in JDK 6 Update 18.
It happens with Chunked response, on 404.

Philippe.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 48878] OutOfMemory unzipping certain type of response

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48878

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #3 from Sebb <se...@apache.org> 2010-03-11 09:55:30 UTC ---
I don't think there's anything the JMeter code can do to protect against such
occurrences.

Seems to me that this bug should be raised against Java, not JMeter.

However, if you can provide a simple test case that triggers the problem, that
would be helpful.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org