home contents changes options help subscribe edit (external edit)

This product assists in locating memory leaks. It uses patterns we, at Digital Creations, often employ for fixing memory leaks. It provides a way to get a "controlled" refcount and the traceback of class instance creation.

http://zope.org/Members/hathawsh/LeakFinder
home

The product has not been updated recently; you need to patch line 188 to make it work with Zope 2.6 and up:

 > :-) The RefCounts view in the LeakFinder object fails with the following
 > traceback:
 > 
 > Traceback (innermost last):
 >   [...]
 >   Module DocumentTemplate.DT_Util, line 201, in eval
 >    - __traceback_info__: REQUEST
 >   Module <string>, line 0, in ?
 >   Module Products.LeakFinder.LeakFinder, line 240, in manage_getSample
 >   Module Products.LeakFinder.LeakFinder, line 163, in getControlledRefcounts
 >   Module Products.LeakFinder.LeakFinder, line 188, in resetCache
 > TypeError: function takes at most 2 arguments (3 given)
 > ...
 >             c._cache = PickleCache(c, cache.cache_size, cache.cache_age)

 "PickleCache" now has dropped the "cache_age" parameter.
 Try: "PickleCache(c,cache.cache_size)"



subject:
  ( 23 subscribers )