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 <[email protected]> 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users > > -- Richard Hauswald Blog: http://tnfstacc.blogspot.com/ LinkedIn: http://www.linkedin.com/in/richardhauswald Xing: http://www.xing.com/profile/Richard_Hauswald ------------------------------------------------------------------------------ _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
