Ora-04031 With Continuous Growth Of "obj stat memo" in V$SGASTAT (Doc ID 468591.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.3
This problem can occur on any platform.

Symptoms

ORA-4031 errors are observed in database

Fri Nov 16 23:53:01 2007
Errors in file /b01/admin/SMTPGC3/bdump/testdb10_cjq0_11406.trc:
ORA-00604: error occurred at recursive SQL level 3
ORA-04031: unable to allocate 4108 bytes of shared memory ("shared pool","select
name,password,datats#...","Typecheck","kgghteInit")

Looking at trace file testdb10_cjq0_11406.trc

Memory Utilization of Subpool 1
================================
Allocation Name Size
_________________________ __________
"free memory " 88845736
"miscellaneous " 0
"Undo Meta Data " 240

>>> output truncated

"obj stat memo " 112909088 <--107 Mb
"object level " 12355104

Second trace file reports

"obj stat memo " 121212308 <--115 Mb
"object level " 13263264

Around 107 Mb of memory is being used by obj stat memo and is continuously increasing.
>>

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