Error:
ORA-04031: unable to allocate 4096 bytes of shared memory ("shared pool","BEGIN
DBMS_OUTPUT.ENABLE(100...","PL/SQL MPCODE","BAMIMA: Bam Buffer"
ORA-04031: unable to allocate 4096 bytes of shared memory ("shared pool","BEGIN
DBMS_OUTPUT.GET_LINES(...","PL/SQL MPCODE","BAMIMA: Bam Buffer"
ORA-04031: unable to allocate 4096 bytes of shared memory ("shared pool","BEGIN
DBMS_APPLICATION_INFO....","PL/SQL MPCODE","BAMIMA: Bam Buffer"
Version: (MTS)
Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
PL/SQL Release 8.1.7.4.0 - Production
CORE8.1.7.0.0 Production
TNS for HPUX: Version 8.1.7.4.0 - Production
NLSRTL Version 3.4.1.0.0 - Production
Shared pool info:
POOL NAME
MBytes
------------ ------------ ----------
shared poolfree memory87.4657211 (total is 230M)
large pool free memory128.500313
java poolfree memory.03125
Event 1:
Just for any simple statement, it would spend more shared pool, such as :
SELECT TO_CHAR(SYSDATE,'mm/dd/yyyy') FROM DUAL
CURSOR
NO340456
it use about 340k shared pool,
Event 2:
alter system flush shared pool;
for this alter command, can not release the shared pool, but before it is Ok.
Why?
|