Perm Gen Leak - Some Memory Is Not Released Between WebLogic Portal Application(WLP) Re-Deployments Causing OutOfMemoryError (Doc ID 972187.1)

Last updated on FEBRUARY 14, 2017

Applies to:

Oracle WebLogic Portal - Version 9.2.0 to 10.2.0
Information in this document applies to any platform.

Symptoms

Repeated redeployment of WebLogic Portal appliation causes OutOfMemoryError in PermGen space:

<Error> <Deployer> <BEA-149265> <Failure occured in the execution of deployment request with ID '1188323115746' for task '12'.
Error is: 'weblogic.application.ModuleException: [HTTP:101216]Servlet: 'AppManagerServlet' failed to preload on startup in Web application: 'portalAppAdmin'.java.lang.OutOfMemoryError: PermGenspace'
weblogic.application.ModuleException: [HTTP:101216]Servlet:
'AppManagerServlet' failed to preload on startup in Web application:
'portalAppAdmin'.java.lang.OutOfMemoryError: PermGen space
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:891)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.OutOfMemoryError: PermGen space

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