You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Lukas Vasek (JIRA)" <ji...@apache.org> on 2016/03/30 14:05:25 UTC

[jira] [Created] (CXF-6852) Java 8 java.lang.OutOfMemoryException: Metaspace issue while generating dynamic client

Lukas Vasek created CXF-6852:
--------------------------------

             Summary: Java 8 java.lang.OutOfMemoryException: Metaspace issue while generating dynamic client
                 Key: CXF-6852
                 URL: https://issues.apache.org/jira/browse/CXF-6852
             Project: CXF
          Issue Type: Bug
    Affects Versions: 3.1.6, 2.7.16
         Environment: OSX
JDK8u77
            Reporter: Lukas Vasek


Hello, 
As mentioned in this issue http://stackoverflow.com/questions/36307555/correct-java-8-setup-for-class-unloading-metaspace-cleanup-cxf-issue we are getting OOM exceptions while generating dynamic clients. Problem is that each new generated client creates new URLClassLoader which consumes memory. I don't know if this is bug in CXF or it's more related to JVM setup. I would greatly appreciate any help.

Thanks



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)