My Oracle Support Banner

AdminServer fails with an OutOfMemoryError on WLS 12.1.2 (Doc ID 2154040.1)

Last updated on OCTOBER 11, 2018

Applies to:

Oracle WebLogic Server - Version 12.1.2.0.0 to 12.1.2.0.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

AdminServer fails with OutOfMemory error during run time in WLS 12.1.2.

Following errors are seen in the logs :

####<Nov 19, 2014 1:53:46 PM CET> <Error> <HTTP> <ueiljvp01> <IAEADM> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1416401626090> <BEA-101017> <[ServletContext@1359966549[app:wls-management-services module:wls-management-services.war path:null spec-version:3.0]] Root cause of ServletException.
java.lang.OutOfMemoryError: Java heap space
at java.lang.Long.valueOf(Long.java:577)
at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1643)
at java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:69)
at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:467)
at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:455)
at java.security.AccessController.doPrivileged(Native Method)
at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:455)
at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:352)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1130)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
at java.util.HashMap.writeObject(HashMap.java:1100)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:975)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1480)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
at java.io.ObjectOutputStream.access$300(ObjectOutputStream.java:161)
at java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:1687)
at java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:478)
at javax.management.modelmbean.DescriptorSupport.writeObject(DescriptorSupport.java:1399)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:975)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1480)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:438)
at javax.management.modelmbean.ModelMBeanOperationInfo.writeObject(ModelMBeanOperationInfo.java:538)

Increasing the heap size of AdminServer does not help.

From GC logs we see that no much memory is being released after a full GC and old Gen space is gradually increasing which leads to OOM :

2015-02-25T08:46:17.229+0100: 716942.567: [Full GC [PSYoungGen: 687360K->687264K(693184K)] [ParOldGen: 1398142K->1398142K(1398144K)] 2085502K->2085406K(2091328K) [PSPermGen: 141442K->141442K(262400K)], 2.2582710 secs] [Times: user=14.74 sys=0.02, real=2.26 secs]
2015-02-25T08:46:19.489+0100: 716944.826: [Full GC [PSYoungGen: 687360K->687263K(693184K)] [ParOldGen: 1398142K->1398142K(1398144K)] 2085502K->2085405K(2091328K) [PSPermGen: 141442K->141442K(262400K)], 2.2374330 secs] [Times: user=14.59 sys=0.03, real=2.24 secs]
2015-02-25T08:46:21.727+0100: 716947.065: [Full GC [PSYoungGen: 687360K->687284K(693184K)] [ParOldGen: 1398142K->1398142K(1398144K)] 2085502K->2085426K(2091328K) [PSPermGen: 141442K->141442K(262400K)], 2.2472120 secs] [Times: user=14.79 sys=0.02, real=2.25 secs]
2015-02-25T08:46:23.976+0100: 716949.313: [Full GC [PSYoungGen: 687360K->687218K(693184K)] [ParOldGen: 1398142K->1398142K(1398144K)] 2085502K->2085361K(2091328K) [PSPermGen: 141442K->141442K(262400K)], 2.2405580 secs] [Times: user=14.65 sys=0.05, real=2.24 secs]
2015-02-25T08:47:08.004+0100: 716993.342: [Full GC [PSYoungGen: 687360K->687191K(693184K)] [ParOldGen: 1398142K->1398142K(1398144K)] 2085502K->2085333K(2091328K) [PSPermGen: 141442K->141442K(262400K)], 2.3833720 secs] [Times: user=15.77 sys=0.03, real=2.38 secs]

 

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
References


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