[Mono-bugs] [Bug 421491] "Could not allocate new OCI Handle of type Statement" message when accessing Oracle

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Aug 15 02:17:03 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=421491

https://bugzilla.novell.com/show_bug.cgi?id=421491#c19


--- Comment #19 from Daniel Morgan <monodanmorg at yahoo.com> 2011-08-15 06:17:02 UTC ---
The GC was releasing the unmanaged resources before the managed resources had a
chance to release them via disconnect.  As far as I know, there is no
guaranteed order in which the GC will release resources which is why it is best
to be explicit via a Close or Dispose.  

Additional, OracleConnectionPoolManager should not have a Finalize method.

When disconnecting in OciGlue, make sure not only the various handles are not
null, but also the internal unmanaged Handle is not IntPtr.Zero.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list