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 FEBRUARY 13, 2024

Applies to:

Oracle Containers for J2EE - Version 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


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

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