Good afternoon,

May I know which version of struts1 without memory leak problem?

I use struts1.3.10 and tomcat5.5.23. I stop my web application and did

(1) find tomcat pid  = 11718

(2) jmap to review not released classes
    jmap -histo 11718   | grep webapp

Attaching to process ID 11718, please wait...
Debugger attached successfully.
Client compiler detected.
JVM version is 1.5.0_08-b03
Iterating over heap. This may take a while...
Unknown oop at 0x880a3928
Oop's klass is null
Unknown oop at 0x880a6168
Oop's klass is null

56      1       webapp.SearchActionForm
40      1       webapp.LocalUserBean
32      1       webapp.ProcessLoginAction
24      1       webapp.HelpActionForm
16      1       webapp.ProcessLogin
16      1       webapp.filter.AuthenticatedFilter
16      1       webapp.filter.ReadWriteFullControlFilter
8       1       webapp.AuthenticationLists

Still see not-released webapp classes even actionForm & actionClasses are shown. May I know why these classes are not auto-released after webapp has been stopped from tomcat server?

Have read:
http://blogs.sun.com/fkieviet/entry/classloader_leaks_the_dreaded_java
http://www.samaxes.com/2007/10/classloader-leaks-and-permgen-space/

I checked my actionForm & class to avoid it but why still got not released classes? Do need some explanation, Please!

Thanks a lot!
--
Lu Ying



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to