My Oracle Support Banner

PermGen Leak At org.springframework.cglib.core.AbstractClassGenerator (Doc ID 2301061.1)

Last updated on NOVEMBER 08, 2018

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

WLS running out of memory in PermGen. Heapdump shows the following:

--------------------

Class Name | Shallow Heap | Retained Heap | Percentage
-------------------------------------------------------------------------------------------------------------------------------------------------
weblogic.utils.classloaders.ChangeAwareClassLoader @ 0x6e1f549c8 | 104 | 17,849,688 | 0.98%
|- class org.springframework.cglib.proxy.Enhancer @ 0x6e2d803f0 | 136 | 15,731,528 | 0.86%
| |- org.springframework.cglib.core.AbstractClassGenerator$Source @ 0x6e2d810a0 | 24 | 15,728,352 | 0.86%
| | '- java.util.WeakHashMap @ 0x6e2d810b8 | 56 | 15,728,328 | 0.86%
| | |- java.util.WeakHashMap$Entry[16] @ 0x6e2d810f0 | 80 | 15,728,224 | 0.86%
| | | '- java.util.WeakHashMap$Entry @ 0x6e2d81140 | 40 | 15,728,144 | 0.86%
| | | '- java.util.HashMap @ 0x6e2d81198 | 48 | 15,728,104 | 0.86%
| | | '- java.util.HashMap$Entry[64] @ 0x6e32344c0 | 272 | 15,728,056 | 0.86%
| | |- java.lang.ref.ReferenceQueue @ 0x6e2d81168 | 32 | 48 | 0.00%
| | '- Total: 2 entries | | |

--------------------------------------

Majority of the classloader is filled with Spring objects which are not GC'ed over time causing memory leak in PermGen.

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.