ORA-04030: Out Of Process Memory when Trying to Allocate N Bytes
(Doc ID 1930292.1)
Last updated on AUGUST 07, 2023
Applies to:
Portal - Version 11.1.1.6.0 to 11.1.1.7.0 [Release FMW11g]Information in this document applies to any platform.
Goal
The ORA-04030 errors are seen on the Portal log files:
<TIMESTAMP> WLS_PORTAL ERROR] [ http://<HOSTNAME> [tid: userId: ecid: <ECID> 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)
<TIMESTAMP> WLS_PORTAL ERROR] [ http://<HOSTNAME> [tid: userId: ecid: <ECID> 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 <HOSTNAME>(FTEL9i)(59): plimit 22878
22878: /oracle/jdk1.6.0_45/bin/sparcv9/java -server -Xms256m -Xmx512m -XX:Max
...
stack(kbytes) 32768 unlimited
...
oracle <HOSTNAME>(FTEL9i)(60): plimit -s unlimited 22878
oracle <HOSTNAME>(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
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
Goal |
Solution |
References |