My Oracle Support Banner

JRrockit 28.0.1 Limitation with Memory Areas for Classloading on Solaris Leading to OOM (Doc ID 1318184.1)

Last updated on NOVEMBER 16, 2018

Applies to:

Oracle Weblogic Server - Version 10.3 and later
Oracle JRockit - Version R28 to R28.1.0 [Release JRockit]
Information in this document applies to any platform.


When using JRockit R28.0.1 on Solaris Operating System, the following java.lang.OutOfMemoryError can show up:

<[ServletContext@342438833[app:XXXXXX] Root cause of ServletException.
java.lang.OutOfMemoryError: class allocation, 52877504 loaded, 50M footprint in check_alloc (classalloc.c:213) 332 bytes requested.
Java heap 2G reserved, 2G committed
Paged memory=18014398505529200K/25165816K.
Your Java heap size might be set too high.
Try to reduce the Java heap
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(
at java.lang.ClassLoader.defineClass(
at weblogic.utils.classloaders.GenericClassLoader.defineClass(

This indicates an issue with class loading memory area.


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

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