OC4J Container Reports Error java.lang.OutOfMemoryError: PermGen space (Doc ID 368342.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version 10.1.2.0.0 to 10.1.3.5.0 [Release AS10gR2 to AS10gR3]
Information in this document applies to any platform.
***Checked for relevance on 18-Dec-2015***


Symptoms

In any circumstance, deploying, undeploying, redeploying or even running an application within an OC4J instance can return following error:

java.lang.OutOfMemoryError: PermGen space

 

After this error the OC4J instance can no longer be used and a restart is necessary for users to continue using the application. As a result, redeployment results in downtime and must be scheduled out of hours.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms