I've been going some testing with gc.set_debug etc and it looks like there
isn't a memory leak or at least not one the garbage collector can find. That
means that the data must be remaining reachable somehow.
http://www.meetmemap.com - makes giving directions easy
http://www.pretaweb.com - Update-it-yourself, low cost websites
http://www.eatmanifesto.com - against all dumbing down of food
Y!:dylan_jay ICQ:520341 MSN:[EMAIL PROTECTED] Ph:+61423198306
"Dylan Jay" <[EMAIL PROTECTED]> wrote in message
> "Peter Bengtsson" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> Dylan Jay <me <at> dylanjay.com> writes:
>>> If anyone has experience with finding these kind of rouge references I'd
>>> really appreciate any tips.
>> I have no idea how to patch tings with LeakFinder to find your problems
>> LeakFinder, albeit a great piece of code, attempts an incredibly
>> difficult task.
>> Most likely, your memory leaks is due to an assignment of really large
>> lists on
>> complex objects (eg. more complex than strings or numbers).
> Can you expound on this a little as this sounds very interesting? Why do
> assignments to a list normally result in leaks? Do you mean lists of
> complex objects or complex objects that have lists?
>> Look for any constructs where you extract large lists and do operations
>> on them.
>> Once you have, if you ever, contain these, return to the mailing list and
>> we can
>> try to solve it together.
> I certainly do operations on lists, partucularly LazyMap etc. I do
> operations with catalog results and map them to lazily to custom objects
> which are joined by aquisition to catalog brains.
> I'm new to memory leak debugging in python but have done it before in
>>From what I understand garbage collection happens differently in java. In
> java you have to avoid circular references, is the same true in python?
>> Zope maillist - Zope@zope.org
>> ** No cross posts or HTML encoding! **
>> (Related lists -
>> http://mail.zope.org/mailman/listinfo/zope-dev )
> Zope maillist - Zope@zope.org
> ** No cross posts or HTML encoding! **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -