Re: CacheManager OOM risk

sebb <[email protected]> Thu, 20 Oct 2011 11:27:57 +0100
Newsgroups gmane.comp.jakarta.cactus.devel
Message-ID <CAOGo0VYD8Xdiz4RupT2KSS6sjbQ1u3Da-635EM+hoTZiVKjuOQ@mail.gmail.com>
On 20 October 2011 11:17, Philippe Mouawad <[email protected]> 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
>