My Oracle Support Banner

Java Processes From Different Products Crashing With "out of physical RAM or swap space" Error (Doc ID 2402406.1)

Last updated on SEPTEMBER 07, 2023

Applies to:

Oracle WebLogic Server - Version 11.1.1.2.0 and later
Oracle Solaris on SPARC (64-bit)

Symptoms

On Oracle Sun SPARC T3-1 server Java crashing with "out of swap error" on multiple products including WLS, Reports, Forms, etc.
When checked the swap space usage is normally relatively low, less than 1Gb being used of 32Gb of swap space.
Upgraded from FMw 11g to 12c and from Jdk7 to Jdk8 issue still persists for Reports clients.

Snippets from hs_err_pidxxx.log

# There is insufficient memory for the Java Runtime Environment to continue.
# Out of swap space to map in thread stack.
# 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)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
# Out of Memory Error (os_solaris_sparc.cpp:582), pid=9778, tid=681
#
# JRE version: Java(TM) SE Runtime Environment (7.0_85-b33) (build 1.7.0_85-b33)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.85-b07 mixed mode solaris-sparc compressed oops)
...

 

Snippets of jvm_arg from various hs_err_pidxxx.log showing different processes crashing

jvm_args: -Xusealtsigs -Xbootclasspath/p:ORACLE_HOME/vbroker4/lib/vbjboot.jar

jvm_args: -Doracle.reports.client.component=forms -Xusealtsigs -Xbootclasspath/p:ORACLE_HOME/vbroker4/lib/vbjboot.jar

jvm_args: -DORACLE_HOME=ORACLE_HOME -Xmx256M -Xusealtsigs -Xbootclasspath/p:ORACLE_HOME/vbroker4/lib/vbjboot.jar

jvm_args: -Dapplication.name=/reports -Doracle.reports.component=rwEng-0 -Doracle.reports.conf.dir=DOMAIN_HOME/config/fmwconfig/servers/WLS_REPORTS/applications/reports_11.1.2/configuration ...

jvm_args: -Xms256m -Xmx512m -XX:MaxPermSize=512m -Dweblogic.Name=WLS_REPORTS ...

jvm_args: -Xms256m -Xmx512m -XX:MaxPermSize=512m -Dweblogic.Name=AdminServer ...

 

 

 

 

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


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