Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6852

Java 8 java.lang.OutOfMemoryException: Metaspace issue while generating dynamic client

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.7.16, 3.1.6
    • Fix Version/s: 3.1.11, 3.2.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      OSX
      JDK8u77

    • Estimated Complexity:
      Unknown

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              lukasvasek Lukas Vasek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: