OC4J Container Reports Error java.lang.OutOfMemoryError: PermGen space

(Doc ID 368342.1)

Last updated on MARCH 30, 2018

Applies to:

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


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.


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