[Zope-DB] DCO2 and memleaks...

Dario Lopez-Kästen dario@ita.chalmers.se
Thu, 2 May 2002 17:00:04 +0200


From: "Matthew T. Kromer" <matt@zope.com>
> A lot of times this happens because the DB Connection object is either
> closed before all associated cursors are closed, or because someone
> never actually closes cursors or connections.   This is very likely to
> be a flaw in ZOracleDA as connections become inactive.
>
> In other words, the adapter layer is likely OK, and just doing what it
> was told to do -- it was never told to release the resources.  I'm a bi=
t
> fuzzy on how smart ZOracleDA is on shutting down cursors/connections
> gracefully -- although my guess is it isnt very smart at all on the
subject.
>
hm... ok, so I assume this is fixable in the Python code of DCO2 or is it
necessary to muck around the C-code as well?

Any hints on where to start looking?

Thanks,

/dario

- --------------------------------------------------------------------
Dario Lopez-Kästen, dario@ita.chalmers.se        IT Systems & Services
System Developer/System Administrator     Chalmers University of Tech.