CacheManager OOM risk

Philippe Mouawad <[email protected]> Thu, 20 Oct 2011 12:17:35 +0200
Newsgroups gmane.comp.jakarta.cactus.devel
Message-ID <CAH9fUpbQcfgvb-_SFM0VDk1++8DaWET35QUPTeS_Kz8hcut_bg@mail.gmail.com>
--000e0cd23ef2ec9c8004afb84358
Content-Type: text/plain; charset=ISO-8859-1

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

--000e0cd23ef2ec9c8004afb84358--