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 MARCH 29, 2017

Applies to:

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


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 ( initialized
15:19:42 java.lang.OutOfMemoryError
15:19:48 java.lang.OutOfMemoryError
15:19:51 Uncaught exception RMIConnectionThread 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