You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jakarta.apache.org by Philippe Mouawad <ph...@gmail.com> on 2011/10/20 12:17:35 UTC

CacheManager OOM risk

Hello,
I am doing some tests on an application that uses GET requests with a
parameter nocache generated for each request.
This application generates this request every second.

So I simulated this and ran an endurance test.

I noticed JMeter memory increased during the test.
I made a Heap Dump and saw that CacheManager was overwhelmed by this
request.

There is of course an issue with WebServer config that should add Expires
Header but I think we sould protect JMeter from this by limiting size on
Cachemanager HashMap,
as it is the case for a real browser that has a limited memory size for
cache.

Should I open an issue regarding this ?

Thanks.
Regards
Philippe

Re: CacheManager OOM risk

Posted by sebb <se...@gmail.com>.
On 20 October 2011 11:17, Philippe Mouawad <ph...@gmail.com> wrote:
> Hello,
> I am doing some tests on an application that uses GET requests with a
> parameter nocache generated for each request.
> This application generates this request every second.
>
> So I simulated this and ran an endurance test.
>
> I noticed JMeter memory increased during the test.
> I made a Heap Dump and saw that CacheManager was overwhelmed by this
> request.
>
> There is of course an issue with WebServer config that should add Expires
> Header but I think we sould protect JMeter from this by limiting size on
> Cachemanager HashMap,
> as it is the case for a real browser that has a limited memory size for
> cache.
>
> Should I open an issue regarding this ?

Please.

> Thanks.
> Regards
> Philippe
>

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