[jbossts-issues] [JBoss JIRA] (JBTM-2247) Memory leak in TransactionImple

Michael Musgrove (JIRA) issues at jboss.org
Thu Sep 4 06:23:00 EDT 2014


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

Michael Musgrove commented on JBTM-2247:
----------------------------------------

What do you mean by it works - the issue you have reported is that there are so many outstanding resource enlistments that the JVM runs out of memory. Note that this is not a leak in the transaction manager since we are doing what is requested (ie enlisting a resource on each ejb call - the reason we have to store duplicates is that the spec says we need to make the corresponding delist call come commit time). As far as can see, you have 2 options, either increase your heap size or restructure things to avoid making thousands of calls within the same transaction.

> Memory leak in TransactionImple
> -------------------------------
>
>                 Key: JBTM-2247
>                 URL: https://issues.jboss.org/browse/JBTM-2247
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: JTA
>    Affects Versions: 4.16.2
>            Reporter: Sergey Shilin
>            Assignee: Tom Jenkinson
>            Priority: Critical
>         Attachments: OOM-jboss-1.JPG, OOM-jboss-2.JPG
>
>
> There is a problem in com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.
> HashTable _duplicateResources contains of 6 millions of objects and takes 2Gb of memory. Is there any patches or solutions for this problem?



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbossts-issues mailing list