[ZODB-Dev] Resource Managers not getting collected?
Sidnei da Silva
sidnei at enfoldsystems.com
Thu May 25 01:41:32 EDT 2006
I'm working with Mark Hammond on an experimental Database Adapter
which just like all the other Database Adapters for Zope 2 does
subclass the infamous 'Shared.DC.ZRDB.TM'.
An instance of the said subclass gets registered with the transaction
by means of a MultiObjectResourceAdapter.
What Mark noticed, and what puzzled me, was that instances of the said
class were not being garbage collected, which means that if they hold
a reference to a rdb connection the rdb connection never gets closed.
Now, this sounds pretty serious to me, and after digging as much as we
could we couldn't find any obvious reference cycles that needed
explicit breaking or anything.
Anyone experienced this? Any clues about what to do to get more
information?
--
Sidnei da Silva
Enfold Systems http://enfoldsystems.com
Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214
More information about the ZODB-Dev
mailing list