[ https://issues.apache.org/jira/browse/CXF-6852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-6852. ------------------------------ Resolution: Fixed Assignee: Daniel Kulp Fix Version/s: 3.1.11 3.2.0 > 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: 2.7.16, 3.1.6 > Environment: OSX > JDK8u77 > Reporter: Lukas Vasek > Assignee: Daniel Kulp > Priority: Blocker > Fix For: 3.2.0, 3.1.11 > > > 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.15#6346)