Repeated Redeployment Results In OutOfMemory

(Doc ID 1936914.1)

Last updated on MAY 14, 2018

Applies to:

Oracle WebLogic Server - Version 10.3.3 to 10.3.3
Information in this document applies to any platform.


Facing "java.lang.OutOfMemoryError: Java heap space" while trying to repeatedly deploy a web application which is a client of an EJB application.

The following steps show how to reproduce the issue:

1. Deploy a web application and EJB application on different WLS domains (or on different servers).

2. Use web application to invoke EJB

3. Redeploy the web application

4. Repeat the second and the third steps until you get java.lang.OutOfMemoryError


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