Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> ORA-04031 shared memory
Hi!
Currently I am facing a ORA-04031 on a Oracle 8:
ORA-04031: unable to allocate 4200 bytes of shared memory ("shared pool","SEQ$","sga heap","state objects")
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
I checked a lot of hints about configuration of the shared pool.
Looking
at the values raises the question, why 04031 comes up?
SQL> select pool, name,
sgasize/1024/1024 "Allocated (M)", bytes/1024 "Free (K)", round(bytes/sgasize*100, 2) "% Free"from (select sum(bytes) sgasize from sys.v_$sgastat) s, sys.v_$sgastat f
POOL NAME Allocated (M) Free (K) %Free
----------- -------------------------- ------------- ---------- ---------- shared pool free memory 226.808434 38591.6406 16.62 large pool free memory 226.808434 600 .26 java pool free memory 226.808434 157286.77
Large pool should make problems, not the shared segmen?
Any hints for this problem? Thanks in advance,
Lars Received on Mon Apr 05 2004 - 14:59:38 CDT