Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> v$open_cursor view still populated after cursors are released

v$open_cursor view still populated after cursors are released

From: James A. Rooke <berj4_at_earthlink.net>
Date: Fri, 09 Mar 2001 03:42:01 GMT
Message-ID: <3AA87B05.9E83D70D@earthlink.net>

Hi.

I am facing a problem with Oracle 8.1.7 EE on Sun OS where Oracle does not free up context areas from cursors
after the calling program (in this case a ProC app) explicitly closes the cursor.

The setup is this: I created a package with a type definition for a REF Cursor and a stored procedure to pass
that REF Cursor back to the application; From there the application fetches the cursor values (stored proc is returning multiple rows) and when it is finished, it closes the cursor. After the app makes the call to close the cursor, that cursor is still visible (and allocated) in v$open_cursors; Eventually the application errors out with an ORA-01000 "maximum open cursors exceeded" error, even though the app explicity closes each cursor it
opens.

Has anyone seen this? If so, any way to fix it? Is it a but in Oracle?

Thanks in advance,

James
berj4_at_earthlink.net Received on Thu Mar 08 2001 - 21:42:01 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US