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

Tomas Remes (JIRA) issues at jboss.org
Mon Sep 5 02:37:00 EDT 2016


Tomas Remes created WFLY-7037:
---------------------------------

             Summary: 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
         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
(v6.4.11#64026)


More information about the jboss-jira mailing list