My Oracle Support Banner

'"ServerConnectionManager Thread" java.lang.OutOfMemoryError: unable to create new native thread' Error Running Batches (Doc ID 2726236.1)

Last updated on NOVEMBER 12, 2020

Applies to:

Oracle Financial Services Funds Transfer Pricing - Version 8.1.0.0.0 and later
Oracle Financial Services Analytical Applications Infrastructure - Version 8.1.0.0.0 and later
Oracle Financial Services Profitability Management - Version 8.1.0.0.0 and later
Oracle Financial Services Asset Liability Management - Version 8.1.0.0.0 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)
Oracle Financial Services Analytical Applications Infrastructure (OFSAAI)

Symptoms

When testing large batches containing File to Table (F2T) and Table to Table (T2T) data loads, many of which process in parallel, the processes are getting memory errors.  The errors occur when running a certain number simultaneously.  If they reduce the number being processed, it is successful.

The following memory errors are output:

From the hs_err_pid19548.log:


# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create GC thread. Out of system resources.


and

# Out of Memory Error (gcTaskThread.cpp:48), pid=576, tid=0x00007efc9e79f700

Additionally, the following error exists in the nohup.out in $FIC_APP_HOME/common/FICServer/bin:

Exception in thread "ServerConnectionManager Thread" java.lang.OutOfMemoryError: unable to create new native thread
     at java.lang.Thread.start0(Native Method)
     at java.lang.Thread.start(Thread.java:717)
     at com.iflex.fic.ficserver.ServerConnectionManager.processJavaConnection(ServerConnectionManager.java:272)
     at com.iflex.fic.ficserver.ServerConnectionManager.run(ServerConnectionManager.java:203)
     etc.


Finally, the following error exists in the nohup.out in $FIC_DB_HOME/bin:

2020-10-21 14:02:17,813 main ERROR Unable to write to stream /app/ftpshare/logs/20200831/<Infodom>/EXTRACT DATA/<BATCH_NAME>_20200831_31_Task14_T2F.log for appender OFSAAEngineAppender: org.apache.logging.log4j.core.appender.AppenderLoggingException: Error writing to stream /app/ftpshare/logs/20200831/<Infodom>/EXTRACT DATA/<BATCH_NAME>_20200831_31_Task14_T2F.log
2020-10-21 14:02:17,815 main ERROR An exception occurred processing Appender OFSAAEngineAppender org.apache.logging.log4j.core.appender.AppenderLoggingException: Error writing to stream /oracle/app/ftpshare/logs/20200831/<Infodom>/EXTRACT DATA/<BATCH_NAME>_20200831_31_Task14_T2F.log
     at org.apache.logging.log4j.core.appender.OutputStreamManager.writeToDestination(OutputStreamManager.java:258)
     at org.apache.logging.log4j.core.appender.FileManager.writeToDestination(FileManager.java:177)
     at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.writeToDestination(RollingFileManager.java:185)
     .
     .
     .
Caused by: java.io.IOException: No space left on device
     at java.io.FileOutputStream.writeBytes(Native Method)
     at java.io.FileOutputStream.write(FileOutputStream.java:326)
     at org.apache.logging.log4j.core.appender.OutputStreamManager.writeToDestination(OutputStreamManager.java:256)
     ... 40 more

You want to be able to run the quantities of batches simultaneously.

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
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.