E-WL: Intermittent WebLogic Crashes when using Oracle/Sun JDK. Logs Show Error "java.lang.OutOfMemoryError: requested 131080 bytes for Chunk::new. Out of swap space?" (Doc ID 1326650.1)

Last updated on NOVEMBER 06, 2012

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.49 to 8.50 [Release 8.4]
Information in this document applies to any platform.
***Checked for relevance on 06-Nov-2012***

Symptoms

There are intermittent issues with WebLogic crashes (ie the WebLogic java process terminates) when using Sun/Oracle JDK.

When the java process terminates, file PIA_stdout.log shows the following message:

#
# A fatal error has been detected by the Java Runtime Environment:
#
# java.lang.OutOfMemoryError: requested 131080 bytes for Chunk::new. Out of swap space?
#
# Internal Error (allocation.cpp:272), pid=2141, tid=30
# Error: Chunk::new
#
# JRE version: 6.0_24-b07
# Java VM: Java HotSpot(TM) Server VM (19.1-b02 mixed mode solaris-sparc )
# An error report file with more information is saved as:
# /opt/peopleosft/webserv/mydomain/hs_err_pid2141.log


You may also see these messages leading up to the time of crash:

<Feb 25, 2011 2:22:10 PM EST> <Error> <HTTP> <BEA-101017> <[ServletContext@4382585[app:peoplesoft module:/ path: spec-version:2.5]] Root cause of ServletException.
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:640)
at bea.jolt.NwHdlr.start_threads(NwHdlr.java:2364)
at bea.jolt.NwHdlr.openConnection(NwHdlr.java:1075)
at bea.jolt.CMgr.connect(CMgr.java:123)
Truncated. see log file for complete stacktrace



If you check the error report file referenced in PIA_stdout.log (file "hs_err_pid2141.log" in this example), it shows the following as "current thread":

Current thread (0x00268000): JavaThread "CompilerThread0" daemon [_thread_in_native, id=30, stack(0x0a380000,0x0a400000)]




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