You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Tech Newbie <te...@yahoo.com> on 2013/02/05 02:18:55 UTC
Use FileToString for 100MB file
Is that possible?
Getting out of memory error even though the heap is set to 1G:
set HEAP=-Xms1024m -Xmx1024m
Re: Use FileToString for 100MB file
Posted by sebb <se...@gmail.com>.
On 5 February 2013 15:39, Sergio Boso <se...@bosoconsulting.it> wrote:
> I recently went through a situation where I had to download some 300MB+
> files.
>
> In fact, it seems that Jmeter tries to keep the sample result in memory
> until the operation has finished.
> I assume that this is done in order to do allow assertion, content analysis
Yes.
> etc, but where very large files are involved, this is a real issue.
Which is why there is the HTTP option "Save response as MD5 hash?"
> I made a quick workaround using OS sampler + wget command+ delete file
> command.
> I think that an option to save the sample result to file, would be more
> appropriate.
Feel free to raise an enhancement issue - even better, include a patch.
> HTH
> Sergio
>
>
> Il 05/02/2013 02:27, Stott, Charlie ha scritto:
>
>> First solve your out of memory issues, then you may be able to load a
>> large file into memory.
>>
>> Most common cause of memory issues in gui are listeners, particularly
>> results tree. Try only recording errors if you need it at all. Gui is
>> intended for testing your tests, rather than doing your load testing.
>>
>> AFAIK, in non-gui tests it is likely older HTTP implementations, use v4+.
>> I never get memory issues in CLI tests.
>>
>> However, 100MB filetostring does not really sound like something I'd want
>> to do, are you sure it is the best design?
>>
>> Charlie
>>
>
>
> --
>
> Ing. Sergio Boso
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org
Re: Use FileToString for 100MB file
Posted by Sergio Boso <se...@bosoconsulting.it>.
I recently went through a situation where I had to download some 300MB+ files.
In fact, it seems that Jmeter tries to keep the sample result in memory until the operation has finished.
I assume that this is done in order to do allow assertion, content analysis etc, but where very large files are involved, this is a
real issue.
I made a quick workaround using OS sampler + wget command+ delete file command.
I think that an option to save the sample result to file, would be more appropriate.
HTH
Sergio
Il 05/02/2013 02:27, Stott, Charlie ha scritto:
> First solve your out of memory issues, then you may be able to load a large file into memory.
>
> Most common cause of memory issues in gui are listeners, particularly results tree. Try only recording errors if you need it at all. Gui is intended for testing your tests, rather than doing your load testing.
>
> AFAIK, in non-gui tests it is likely older HTTP implementations, use v4+. I never get memory issues in CLI tests.
>
> However, 100MB filetostring does not really sound like something I'd want to do, are you sure it is the best design?
>
> Charlie
>
--
Ing. Sergio Boso
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org
RE: Use FileToString for 100MB file
Posted by "Stott, Charlie" <CS...@tnsi.com>.
First solve your out of memory issues, then you may be able to load a large file into memory.
Most common cause of memory issues in gui are listeners, particularly results tree. Try only recording errors if you need it at all. Gui is intended for testing your tests, rather than doing your load testing.
AFAIK, in non-gui tests it is likely older HTTP implementations, use v4+. I never get memory issues in CLI tests.
However, 100MB filetostring does not really sound like something I'd want to do, are you sure it is the best design?
Charlie
> -----Original Message-----
> From: Tech Newbie [mailto:technb@yahoo.com]
> Sent: Tuesday, 5 February 2013 11:19 AM
> To: user@jmeter.apache.org
> Subject: Use FileToString for 100MB file
>
> Is that possible?
>
> Getting out of memory error even though the heap is set to 1G:
> set HEAP=-Xms1024m -Xmx1024m
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org