From peter.schauss@ngc.com Fri, 27 Jun 2003 12:15:43 -0700
From: "Schauss, Peter" <peter.schauss@ngc.com>
Date: Fri, 27 Jun 2003 12:15:43 -0700
Subject: ORA-04031
Message-ID: <F001.005BB550.20030627112954@fatcity.com>
MIME-Version: 1.0
Content-Type: text/plain

One of our third party applications gave us the following message:

ORA-04031: unable to allocate 4192 bytes of shared memory

Environment is Oracle 8.1.7 on AIX 4.3.2

The output from "select * from v$sgastat showed about 3 mb free
out of a total of 40 mb of shared pool.  I increased the
size of shared pool to 60 mb and started to watch the
"shared pool"/"free memory" value in v$sgastat.  It seems to vary
between about 3 and 11 mb.

1.  What is the application likely to be doing that requires it to
allocate shared pool?

2.  How do I know when I have the shared pool value in init.ora set high
enough so that I won't get the ORA-04031 errors?

3.  Is there any other init.ora parameter I ought to be looking at here?

Thanks,
Peter Schauss
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Schauss, Peter
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



