[richfaces-issues] [JBoss JIRA] (RF-13071) Undeploying Showcase from Tomcat6/7 can cause memory leak

Tomas Sykora (JIRA) issues at jboss.org
Mon Jun 16 04:35:25 EDT 2014


    [ https://issues.jboss.org/browse/RF-13071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976437#comment-12976437 ] 

Tomas Sykora commented on RF-13071:
-----------------------------------

Hi Lutz,
thank you very much for your comment! Yes, you are right. I discovered there probably left some LocalThreads opened and Tomcat detects it. It looks like it's the best to completely avoid them but need to consult with developers.


> Undeploying Showcase from Tomcat6/7 can cause memory leak
> ---------------------------------------------------------
>
>                 Key: RF-13071
>                 URL: https://issues.jboss.org/browse/RF-13071
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-push/poll, showcase
>    Affects Versions: 4.1.0.Final, 5.0.0.Alpha1
>            Reporter: Juraj Húska
>            Priority: Minor
>              Labels: memory_leak, performance
>             Fix For: 5-Tracking
>
>
> When undeploying showcase from Tomcat 6/7 then following log is present on the server console:
> {code}
> SEVERE: The web application [/richfaces-showcase-tomcat6] appears to have started a thread named [Thread-0 (group:HornetQ-client-factory-threads-1831192424-1080990297)] but has failed to stop it. This is very likely to create a memory leak.
> {code}
> There is lot of such logs, just the _Thread-counter_ is changing.
> * 11 such logs just with showcase deploying and then right after undeploying
> * bit more when after deploying playing a little bit with {{r:push}}
> IMHO it is not just warning. I am experiencing {{Out of Memory}} issues when testing on Tomcat. I need to use quite big {{Perm Gen}} and {{Heap size}}



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)



More information about the richfaces-issues mailing list