Solution For 'RMIConnectionThreadjava.lang.OutOfMemoryError' (Doc ID 1436172.1)

Last updated on JANUARY 21, 2014

Applies to:

Oracle Containers for J2EE - Version 10.1.2.0.0 and later
Information in this document applies to any platform.
***Checked for relevance on 21-Jan-2014***

Goal

When many initial contexts are created in OC4J of OAS10g (10.1.X), the OC4J instance throws OutOfMemory exceptions as below:

12/02/01 15:21:27 Uncaught exception
RMIConnectionThreadjava.lang.OutOfMemoryError
12/02/01 15:21:37 Uncaught exception
RMIConnectionThreadjava.lang.OutOfMemoryError
12/02/01 15:21:46 Uncaught exception
RMIConnectionThreadjava.lang.OutOfMemoryError
12/02/01 15:21:51 Uncaught exception
RMIConnectionThreadjava.lang.OutOfMemoryError

Solution

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