[ 
https://issues.apache.org/activemq/browse/AMQ-1214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Reuter reopened AMQ-1214:
--------------------------------


I have two problems with this issue:
1. You shouldn't set the resolution to "fixed" when you didn't fix anything :-)
2. "threads persisted are valid" - this depends on what you consider valid.

When deployed to a web container like Tomcat the threads are not shut down and 
cause a PermGen leak. The fix would be quite easy: Just shut it down in some 
destroy method or at least make it clear to user's that they have to take care 
of the clean up.

More information:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg05687.htmlvv
http://www.mail-archive.com/[EMAIL PROTECTED]/msg05706.html

http://blogs.reucon.com/srt/2007/07/20/java_lang_outofmemoryerror_permgen_space.html

> threads not stopping causing memory leaks which can lead to OutOfMemoryError
> ----------------------------------------------------------------------------
>
>                 Key: AMQ-1214
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1214
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>         Environment: Fedora Core 6
>            Reporter: Xavier Toth
>         Attachments: test.java, threadleak.tar.gz
>
>
> Threads started by ActiveMQ on behalf of a client persist in a ThreadGroup 
> despite calling the 'interrupt' method on the group thereby leaking memory.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to