Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> ORA-4031 error on one instance but not on other
Hi all,
I have two 9i instances, one of them consistently produces following error, whereas other doesn't.
SQLException:61000java.sql.SQLException: ORA-04031: unable to allocate 1028736 bytes of shared memory ("shared pool","unknown object","hash-join subh","kllcqc:kllcqslt") ORA-06512: at "ESPN.INTRANETGAMEINFO", line 412 ORA-06512: at line 1
I have searched and searched Metalink for this error and its parameters, but no clues. This procedure is called from a jdbc client, it is a jsp, which uses a servlet, which calls a pl/sql package. We identified what portion is causing the problem, it is a cursor loop. If there are now rows returned by the cursor, no problem, it works fine. But other wise this error is returned. The max number of rows returned is about 40, the row size is pretty small too. One more thing, in the cursor loop user is populating a varray.
The large pool is set to 0, SGA has enough free space available.
Any ideas are greatly appreciated.
Raj
QOTD: Any clod can have facts, but having an opinion is an art!
*********************************************************************1
This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.
*********************************************************************1
Received on Wed Nov 21 2001 - 16:52:40 CST
![]() |
![]() |