We used jhat and found out that there are over 1.6 million instances of the org.apache.activemq.filter.DestinationMapNode after just deploying one service in ServiceMix.
The second largest number of instances is 3001. ArmenH wrote: > > We are using ServiceMix 3.1 and getting hit by this issue when we deploy a > service. The memory usage on the PC grows by half GB for every deployed > service and at some point ServiceMix just dies with the OutOfMemoryError > error. This is a critical issue for us. Please advise. > > > JIRA [EMAIL PROTECTED] wrote: >> >> >> [ >> 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. >> >> >> > > -- View this message in context: http://www.nabble.com/-jira--Created%3A-%28AMQ-1214%29-threads-not-stopping-causing-memory-leaks-which-can-lead-to-OutOfMemoryError-tf3473682s2354.html#a11756592 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
