java lang outofmemoryerror class allocating error

Oracle Weblogic Server

After weblogic server start, if you get below out of memory error with Jrockit JVM then try below specified parameters in JAVA_OPTS to solve the issue.

java version “1.6.0_14”

Java(TM) SE Runtime Environment (build 1.6.0_14-b08)

BEA JRockit(R) (build R27.6.5-32_o-121899-1.6.0_14-20091001-2113-linux-x86_64, compiled mode)

Operating System is Red Hat Enterprise 5 ( Linux x86-64 ).

Error :

####<Dec 21, 2011 10:53:48 AM EST> <Error> <Socket> <techpaste> <TPNode1> <ExecuteThread: '15' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <1324482828517> <BEA-000429> <Muxer received error: class allocation, 9312324384 loaded, 4138632320 footprint [email protected]_alloc (src/jvm/model/classload/classalloc.c:118). 568 bytes

java.lang.OutOfMemoryError: class allocation, 9312324384 loaded, 4136632320 footprint [email protected]_alloc (src/jvm/model/classload/classalloc.c:118). 568 bytes.

java.lang.OutOfMemoryError: class allocation, 9312324384 loaded, 4136632320 footprint [email protected]_alloc (src/jvm/model/classload/classalloc.c:118). 568 bytes

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(






at sun.misc.Launcher$AppClassLoader.loadClass(

at java.lang.ClassLoader.loadClass(

at weblogic.rjvm.RJVMImpl.peerGone(

at weblogic.rjvm.RJVMImpl.gotExceptionReceiving(

at weblogic.rjvm.ConnectionManager.gotExceptionReceiving(

at weblogic.rjvm.MsgAbbrevJVMConnection.gotExceptionReceiving(

at weblogic.rjvm.t3.MuxableSocketT3.hasException(

at weblogic.socket.SSLFilter.hasException(

at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(

at weblogic.socket.SocketMuxer.deliverHasException(

at weblogic.socket.EPollSocketMuxer.dataReceived(

at weblogic.socket.EPollSocketMuxer.processSockets(


at weblogic.socket.SocketReaderRequest.execute(

at weblogic.kernel.ExecuteThread.execute(


This issue can be optimised by adding below JVM parameters into JAVA_OPTS while starting the JVM

-XX:+UnlockDiagnosticVMOptions -XXcompressedRefs=0 -Xnoopt -XX:MaxClassBlockMemory=xxM

The default value of -XX:MaxClassBlockMemory is 50 MB, and a reasonable value is around 75 MB.

For more info on JRockit issues check below url:

In case of any ┬ęCopyright or missing credits issue please check CopyRights page for faster resolutions.

Leave a Reply