Am 12. Januar 2016 20:41:05 MEZ, schrieb Ahmad Alnafoosi <[email protected]>:
>Hi 
>I was able to upload these files using curl successfully but I have not
>used Jersey.
>
>Felix, Philippe
>I verified up to 10 users doing PUT with 100MB files successfully with
>the patch you provided and HTTPClient4 authentication concurrently
>(Default jmeter mem of 512M).  
>
>Now the GET is failing with GET at 20MB.  Can we have a fix for GET
>similar to the PUT?

For GET you can try to check "Save response as md5 hash" on the http sampler. 

Regards, 
Felix 

>
>thanks
>
>
>Ahmad 
>
>> Date: Tue, 12 Jan 2016 07:07:44 -0300
>> Subject: Re: Concurrent GB File PUTs causing Out of Memory
>> From: [email protected]
>> To: [email protected]
>> 
>> Hi,
>> 
>>     dos you try to stream the file you want to upload? like this:
>>
>http://stackoverflow.com/questions/10326460/how-to-avoid-outofmemoryerror-when-uploading-a-large-file-using-jersey-client
>> Em 08/01/2016 18:23, "Ahmad Alnafoosi" <[email protected]>
>escreveu:
>> 
>> > Hi
>> > I have a jmeter performance multi-stage test using HTTP REST API.
>> > The test has 10 concurrent users
>> > The test fails on Object Upload (PUT) that are 100MB  (and larger)
>in size
>> > with Out of Memory Exception.
>> >
>> > I did some research on Jmeter Memory optimization.  I did not find
>> > anything on the issue that I am dealing with specifically.
>> >
>> > So I followed optimization recommendations and did the following:
>> > 1- Removed all listeners from the test
>> > 2- Running from non gui command line
>> > 3- Saving JTL as CSV
>> > 4- doing all the graph and summery as post process outside the
>test.
>> > 5- Experimented and Increase heap up to 20 GB as follows
>> > HEAP="-Xms20g -Xmx20g" (this allowed the 100MB to pass but still
>failed at
>> > 1GB and 5GB file sizes).
>> > 6- I added HTTP Cache manager and enabled (Clear Cache on Each
>Iteration)
>> > and Limited (Max Number of elements in cache to 3).
>> >
>> > All of the above did not help in getting 10 concurrent users to PUT
>5GB.!!
>> >
>> > Is there a way to do 10 users uploading 5GB concurrently with the
>default
>> > 512MB?
>> > Does Jmeter cache in its heap all of the objects that it uploads?
>> > What is the optimum heap size that is recommended for the above
>scenario??
>> >
>> > your help is appreciated.
>> >
>> >
>> > thanks
>> >
>> > Ahmad
>> >
>> >
>                                         


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to