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

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:
"/data/u02/oracle/KPMGTS01/fs1/EBSapps/appl/ad/12.0.0/java/adjava.zip:/data/u02/oracle/KPMGTS01/fs1/FMW_Home/jrockit32/lib/dt.jar:/data/u02/oracle/KPMGTS01/fs1/FMW_Home/jrockit32/lib/tools.jar:/data/u02/oracle/KPMGTS01/fs1/FMW_Home/jrockit32/jre/lib/rt.jar:/data/u02/oracle/KPMGTS01/fs1/EBSapps/comn/shared-libs/ebs-3rdparty/WEB-INF/lib/ebs3rdpartyManifest.jar:/data/u02/oracle/KPMGTS01/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-fmw/WEB-INF/lib/ebsFMWManifest.jar:/data/u02/oracle/KPMGTS01/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/data/u02/oracle/KPMGTS01/fs1/FMW_Home/oracle_common/modules/oracle.uix_11.1.1/uix2.jar:/data/u02/oracle/KPMGTS01/fs1/EBSapps/comn/java/classes:/data/u02/oracle/KPMGTS01/fs1/EBSapps/10.1.2/forms/java:/data/u02/oracle/KPMGTS01/fs1/EBSapps/10.1.2/forms/java/frmall.jar:/data/u02/oracle/KPMGTS01/fs1/EBSapps/10.1.2/jlib/ewt3.jar:/data/u02/oracle/KPMGTS01/fs1/EBSapps/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar"

Calling /data/u02/oracle/KPMGTS01/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)

 

Changes

 Applying The Oracle Apps 12.2.3 Patch

Cause

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