My Oracle Support Banner

How To Resolve "java.lang.OutOfMemoryError: class allocation" Error in BPM 11g When 64 bit OS is Used? (Doc ID 1395816.1)

Last updated on AUGUST 01, 2018

Applies to:

Oracle Business Process Management Suite - Version 11.1.1.5.0 and later
Oracle SOA Suite - Version 11.1.1.4.0 to 11.1.1.4.0 [Release 11gR1]
Information in this document applies to any platform.
***Checked for relevance on 16-July-2013***

Goal


The following Out Of Memory error occurs whenever Oracle BPM workspace is used for sometime. How can this be resolved? The environment details are as below

SOA/ BPM 11.1.1.5
WLS 10.3.5
JRockit Oracle JRockit(R) (build R28.1.3-11-141760-1.6.0_24-20110301-1430-windows-x86_64, compiled mode)
OS Microsoft Windows 64 bit


java.lang.OutOfMemoryError: class allocation, 171900352 loaded, 111360K footprint in check_alloc (src/jvm/model/classload/classalloc.c:213) 460 bytes requested.
Java heap 6G reserved, 6G committed
Paged memory=8579437908K/50328836K.
Your Java heap size might be set too high.
Try to
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at oracle.as.management.exception.ASException.<init>(ASException.java:167)
at oracle.dfw.common.DiagnosticsException.<init>(DiagnosticsException.java:77)
at oracle.dfw.dump.DumpExecutionException.<init>(DumpExecutionException.java:75)
at oracle.dfw.impl.dump.DumpManagerImpl.executeDump(DumpManagerImpl.java:576)
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl$SingleDumpExecutor$2.run(DiagnosticsDataExtractorImpl.java:1644)
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl$SingleDumpExecutor$2.run(DiagnosticsDataExtractorImpl.java:1640)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:47)
at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedExceptionAction.run(CascadeActionExecutor.java:79)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.security.Security.runAs(Security.java:61)
at oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:48)
at oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:52)
at oracle.security.jps.internal.jaas.AbstractSubjectSecurity.executeAs(AbstractSubjectSecurity.java:138)
at oracle.dfw.spi.weblogic.SecurityContextImpl.executeAs(SecurityContextImpl.java:110)
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl$SingleDumpExecutor$3.run(DiagnosticsDataExtractorImpl.java:1657)
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl$SingleDumpExecutor$3.run(DiagnosticsDataExtractorImpl.java:1653)
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl$SingleDumpExecutor.call(DiagnosticsDataExtractorImpl.java:1650)
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl$SingleDumpExecutor.call(DiagnosticsDataExtractorImpl.java:1557)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)


Solution

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
Goal
Solution


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.