ORA-04030 AND ORA-16768 ON LOGICAL STANDBY EVEN AFTER Patch 6615740 (Doc ID 970748.1)

Last updated on NOVEMBER 28, 2011

Applies to:

Oracle Server - Enterprise Edition - Version: 9.2.0.7 to 11.2.0.2 - Release: 9.2 to 11.2
Information in this document applies to any platform.

Symptoms

From the logical standby alert log:

ORA-12801: error signaled in parallel query server P004
ORA-00604: error occurred at recursive SQL level 1
ORA-04030: out of process memory when trying to allocate 8512 bytes (pga heap,kgh stack)
LOGSTDBY Analyzer process P003 pid=30 OS id=9449 stopped

The log apply for long transaction fails with ora-4030 error.
The heapdump from 4030 trace file shows high allocation under "knas:shtrans":

Type Count Sum Average Percent
~~~~ ~~~~~ ~~~ ~~~~~~~ ~~~~~~~
knas:shtrans 138579 567475848 4094.96 99.95 -------> High
krvxiphd: priv 8 67376 8422.00 0.01
koh-kghu call 2 17488 8744.00 0.00

The symptom matches to Bug 6615740

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