[jboss-jira] [JBoss JIRA] (WFLY-7037) Memory leak when doing deploy/undeploy app using REST and JPA

Stuart Douglas (JIRA) issues at jboss.org
Mon Nov 7 23:22:00 EST 2016


     [ https://issues.jboss.org/browse/WFLY-7037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas reopened WFLY-7037:
----------------------------------


> Memory leak when doing deploy/undeploy app using REST and JPA
> -------------------------------------------------------------
>
>                 Key: WFLY-7037
>                 URL: https://issues.jboss.org/browse/WFLY-7037
>             Project: WildFly
>          Issue Type: Bug
>          Components: REST, XML Frameworks
>    Affects Versions: 10.1.0.Final
>            Reporter: Tomas Remes
>            Assignee: Stuart Douglas
>            Priority: Critical
>             Fix For: 11.0.0.Alpha1
>
>         Attachments: gc_path.png, mem-leak.zip
>
>
> It seems that exposing some type (ApplicationUser in attached app) which has enum type as attribute via REST api could cause memory leak (See steps to reproduce). You can observe that person.joey.test.UserType instances are kept in memory when GC happens (metaspace exceeds) and the path to GC root looks:
> !gc_path.png|thumbnail!
> Note that this map https://github.com/FasterXML/jackson-databind/blob/jackson-databind-2.7.4/src/main/java/com/fasterxml/jackson/databind/util/ClassUtil.java#L366 was not available in 2.5.4 version used in WF 10.0.0.Final



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list