ORA-04030: Out Of Process Memory When Trying To Allocate N Bytes (Doc ID 1930292.1)

Last updated on MARCH 08, 2017

Applies to:

Portal - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Goal

The ORA-04030 errors are seen on the Portal log files:



2014-09-03T16:53:21.249+01:00 WLS_PORTAL ERROR] [ http://oracle.portal [tid: userId: ecid: 1431306922481796,0:1:1 APP: portal ERROR: Repository Gateway error: Database Error: ORA=4030 ORA-04030: out of process memory when trying to allocate 16328 bytes (koh-kghu sessi,pl/sql vc2)
2014-09-03T17:54:09.417+01:00 WLS_PORTAL ERROR] [ http://oracle.portal [tid: userId: ecid: 1431306922481796,1:29156 APP: portal ERROR: Repository Gateway error: Database Error: ORA=4030 ORA-04030: out of process memory when trying to allocate 16328 bytes (koh-kghu sessi,pl/sql vc2)

One of the recommendations was to set the process stack limit to unlimited for the java child process from the WLS_PORTAL managed server process.

The stack for this process was set to unlimted as follows:

oracle appsrv2(FTEL9i)(59): plimit 22878
22878: /oracle/jdk1.6.0_45/bin/sparcv9/java -server -Xms256m -Xmx512m -XX:Max
...
stack(kbytes) 32768 unlimited
...
oracle appsrv2(FTEL9i)(60): plimit -s unlimited 22878
oracle appsrv2(FTEL9i)(61): plimit 22878
22878: /oracle/jdk1.6.0_45/bin/sparcv9/java -server -Xms256m -Xmx512m -XX:Max
...
stack(kbytes) unlimited unlimited
...

However the stack limit gets set to 32768 within minutes of running the plimit command.

Is there any setting in the WLS_PORTAL configuration to permanently assign an unlimited stack to this process?


 

Solution

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