E-WL: WebLogic 8.1 and 9.2: WebLogic Server Runs Out of Memory with Message "java.lang.OutOfMemoryError" when Users View Large Attachments (Doc ID 942772.1)

Last updated on JUNE 18, 2013

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.44 to 8.49 [Release 8.4]
Information in this document applies to any platform.
***Checked for relevance on 18-Jun-2013***


Symptoms

WebLogic is running out of memory in environments where users are frequently uploading and viewing large attachments.

The specific "Out Of Memory" message, that is logged, will vary depending on the platform:

On Windows and Linux platforms, you may see a message similar to this, in file PIA_weblogic.log:

####<Nov 23, 2011 3:08:29 PM PST> <Error> <HTTP> <MYSERVER> <PIA> <ExecuteThread: '121' for queue: 'default'> <> <BEA-101017> <ServletContext(id=9422759,name=PORTAL,context-path=) Root cause of ServletException.
java.lang.OutOfMemoryError


On AIX platforms, the web server will create heapdump's and javacores and you will see a message like this, in file PIA_stderr.log:

JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
JVMDG318: Heap dump file written to /peoplesoft/webserv/PEOPLESOFT/heapdump156102.1246045195.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /peoplesoft/webserv/PEOPLESOFT/javacore156102.1246045198.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
java.lang.OutOfMemoryError

If a javacore file is created (typically created for AIX), it may show that that plenty of the heap space is free at time of "out of memory" error:

1STHEAPFREE Bytes of Heap Space Free: 13e8ea78
1STHEAPALLOC Bytes of Heap Space Allocated: 1ffefa00



If verbose garbage collection is enabled (see document 759137.1), it also shows that plenty of the heap is available at time of "out of memory" error.

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