[jboss-jira] [JBoss JIRA] (WFLY-1697) Fix JPA SerializableValidatorFactory memory leak

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Mon Oct 7 11:55:02 EDT 2013


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

RH Bugzilla Integration commented on WFLY-1697:
-----------------------------------------------

Tomaz Cerar <tcerar at redhat.com> made a comment on [bug 1003600|https://bugzilla.redhat.com/show_bug.cgi?id=1003600]

https://github.com/jbossas/jboss-eap/pull/515
This PR changes default ExampleDS configuration to disable H2 DatabaseCloser thread creation which can hold reference to hibernate CL.

This same problem exists also in this quickstart
https://github.com/wildfly/quickstart/blob/master/kitchensink-html5-mobile/src/test/resources/arquillian-ds.xml also needs this change 
;DB_CLOSE_ON_EXIT=FALSE should be added to url.

with that change memory leak does not appear anymore.

This problem is related only to h2 in memory database and does not affect any other jdbc drivers I was testing.

If I run quickstart with modified datasource this memory leak does not appear anymore
                
> Fix JPA SerializableValidatorFactory memory leak
> ------------------------------------------------
>
>                 Key: WFLY-1697
>                 URL: https://issues.jboss.org/browse/WFLY-1697
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: JPA / Hibernate
>    Affects Versions: 8.0.0.Alpha3
>            Reporter: Scott Marlow
>            Assignee: Scott Marlow
>
> See http://lists.jboss.org/pipermail/wildfly-dev/2013-July/000466.html for details on recreating the SerializableValidatorFactory leak and Hibernate service loader references to Integreation class/properties.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list