jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: jmeter out of memory on 4gb streaming response (1 request, 1 thread)
Date Tue, 13 Jan 2015 16:19:18 GMT
On 13 January 2015 at 03:00, Colin Freas <colinfreas@gmail.com> wrote:
> I'm testing a REST call that streams data back in a response.  JMeter works
> fine with small files, but when I stream a 4gb file, it just chokes, every
> time:  "ERROR - jmeter.threads.JMeterThread: Test failed!
> java.lang.OutOfMemoryError: Requested array size exceeds VM limit"
>
> Some troubleshooting I have already tried:
>     * modified the heap to 6gb (running on a MBP with 16gb)
>     * running headless
>     * no listeners
>
> These tests are just for throughput and performance.  I don't need a single
> byte from the response.  My first thought is to just tell JMeter to discard
> it.  Is there a way to do that?

Yes, select "Save response as MD5 hash?"

http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request

> If there's a different approach here, I'm open to ideas.  Really any
> suggestions appreciated!
>
> Thanks,
> Colin

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


Mime
View raw message