Richard,

As 1.5.3 has only 2 fixes that appear unrelated to this issue... I take it trying it won't make a difference?

Also I came across this just today - albeit it was initially reported against 1.4.3 - but it is still OPEN:
http://www.stripesframework.org/jira/browse/STS-391

As far as Danil's comment on "... since restarting tomcat once in a while seemed to be rather sufficient solution ..." may be fine if you are building personal apps or toying with a framework but isn't OK when it comes to serious production apps.

--Nikolaos




Richard Hauswald wrote:
Hi,
I'm using
apache-tomcat-6.0.26 and stripes 1.5.2 from repo1.maven.org. The
memory keeps growing over the time, but not much. The leak is somehow
referencing the jsp pool. That's why the size of the leak depends on
the objects referenced by the jsp pool. In case of a nice forEach over
a big business object collection...
Thanks for your feedback,
Richard

On Thu, Apr 29, 2010 at 7:40 PM, Daniil Sosonkin <dan...@orbisfn.com> wrote:
I did notice potential memory leaks while using older version of Stripes. Do
note that I've never actually investigated since restarting tomcat once in a
while seemed to be rather sufficient solution, but the webapp started to eat
memory only after introduction of Stripes. But after most recent upgrade,
the issue has went away. So I've never actually bothered to investigate.
Could you tell which version of Tomcat + Stripes you were testing against.
And does the memory keep growing with time? I'm running many live sites on
Stripes now so very concerned with memory leaks, but haven't noticed any in
the past month or so.

Daniil

Richard Hauswald wrote:

Hello List,
while chasing jsp memory leaks I found that using the stripes layout
tag has 3 negative effects:
1. this tag doubles the memory usage in compare to using @include
2. this tag is slow
3. this tag creates memory leaks. after 100 requests (maxThreads = 10
at the ajp processors ThreadPool) to the same jsp the leak consumes
about 60MB (PS Old Gen) because of references to the jsp runtime
context. I do have a heap dump available, please ask if you need it ~
90MB

Is anyone experiencing the same problems? Maybe this problem is a
tomcat/apache jsp issue, so I'd be happy to hear about the tags
behavior in other containers/app servers

Best Regards,
Richard



------------------------------------------------------------------------------

_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users







--
Nikolaos Giannopoulos
Director, BrightMinds Software Inc.
e. nikol...@brightminds.org
w. www.brightminds.org
t. 1.613.822.1700
c. 1.613.797.0036
f. 1.613.822.1915

------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to