My Oracle Support Banner

How To Restrict The Number Of OC4J 10.1.2 Initial Context Threads To Avoid java.lang.OutOfMemoryError (Doc ID 1433993.1)

Last updated on JULY 20, 2018

Applies to:

Oracle Containers for J2EE - Version: 10.1.2.3.0 and later   [Release: AS10gR2 and later ]
Information in this document applies to any platform.

Goal


Is there any parameter to restrict the total number of initial contexts that a client can lookup with OC4J 10.1.2 ?

Creating too many initial context in an application gives the following error :

15:11:20 Oracle Application Server Containers for J2EE 10g (10.1.2.3.0) initialized
15:19:42 java.lang.OutOfMemoryError
15:19:48 java.lang.OutOfMemoryError
15:19:51 Uncaught exception RMIConnectionThread java.lang.OutOfMemoryError


Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
  Goal
  Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.