My Oracle Support Banner

Error While Applying Oracle Apps 12.2.3 Patch, There is insufficient native memory for the Java, Exception in thread "Main Thread" java.lang.OutOfMemoryError: Resource temporarily unavailable in tsStartJavaThread (Doc ID 1636205.1)

Last updated on SEPTEMBER 01, 2024

Applies to:

Oracle Applications DBA - Version 12.2.3 and later
Information in this document applies to any platform.

Symptoms

Applying Oracle Apps 12.2.3 Patch, Failed on the below Errors

Reading language and territory information from file...

Reading language information from applUS.txt ...
Temporarily resetting CLASSPATH to:
"<BASE_DIRECTORY>/fs1/EBSapps/appl/ad/12.0.0/java/adjava.zip:<BASE_DIRECTORY>/fs1/FMW_Home/jrockit32/lib/dt.jar:<BASE_DIRECTORY>/fs1/FMW_Home/jrockit32/lib/tools.jar:<BASE_DIRECTORY>/fs1/FMW_Home/jrockit32/jre/lib/rt.jar:<BASE_DIRECTORY>/fs1/EBSapps/comn/shared-libs/ebs-3rdparty/WEB-INF/lib/ebs3rdpartyManifest.jar:<BASE_DIRECTORY>/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-fmw/WEB-INF/lib/ebsFMWManifest.jar:<BASE_DIRECTORY>/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:<BASE_DIRECTORY>/fs1/FMW_Home/oracle_common/modules/oracle.uix_11.1.1/uix2.jar:<BASE_DIRECTORY>/fs1/EBSapps/comn/java/classes:<BASE_DIRECTORY>/fs1/EBSapps/10.1.2/forms/java:<BASE_DIRECTORY>/fs1/EBSapps/10.1.2/forms/java/frmall.jar:<BASE_DIRECTORY>/fs1/EBSapps/10.1.2/jlib/ewt3.jar:<BASE_DIRECTORY>/fs1/EBSapps/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar"

Calling <BASE_DIRECTORY>/fs1/FMW_Home/jrockit32/jre/bin/java ...
[ERROR][thread ] Could not start thread ContextCleaner. Resource temporarily unavailable
Exception in thread "Main Thread" java.lang.OutOfMemoryError: Resource temporarily unavailable in tsStartJavaThread (lifecycle.c:1096).

Attempting to allocate 256M bytes

There is insufficient native memory for the Java
Runtime Environment to continue.

Possible reasons:
The system is out of physical RAM or swap space
In 32 bit mode, the process size limit was hit

Possible solutions:
Reduce memory load on the system
Increase physical memory or swap space
Check if swap backing store is full
Use 64 bit Java on a 64 bit OS
Decrease Java heap size (-Xmx/-Xms)
Decrease number of Java threads
Decrease Java thread stack sizes (-Xss)
Disable compressed references (-XXcompressedRefs=false)

Note: <BASE_DIRECTORY> is a user-defined value, that corresponds to the base directory where Oracle E-Business Suite has been installed.

<BASE_DIRECTORY>/fs1 (for example, /u01/install/APPS/fs1)

 

Changes

 Applying The Oracle Apps 12.2.3 Patch

Cause

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
Symptoms
Changes
Cause
Solution
References


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