Permgen or Metaspace leak at org.apache.cxf.common.util.ProxyClassLoader in JBoss EAP 6.4 CP04 and CP05

Solution Unverified - Updated

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 6.4 CP04 and CP05
  • Apache CXF 2.7.17

Issue

  • Permgen or metaspace usage was increased after upgrading EAP 6.4 CP04/CP05 from EAP 6.4 CP03.
  • Metaspace or Permgen leak at org.apache.cxf.common.util.ProxyClassLoader in JBoss EAP 6.4 CP04 and CP05

Resolution

Root Cause

Diagnostic Steps

Ask for the following information for further review:

  • heap dump from the OOME

  • server logs and gc logs

  • GC.class_stats with jcmd after enabling -XX:+UnlockDiagnosticVMOptions:

    $JAVA_HOME/bin/jcmd <JBOSS_JAVA_PID> GC.class_stats -all -csv
    
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.