Python memory leak detector

Tags: Python, memory leak, leek, object, garbage collection, garbage collector, __del__, inspect, gc, DEBUG_LEAK I have a nasty memory leak in my Python script which I can’t find. For some random projects my script gobbles up 2gig of memory then quietly dies. Here is my first attempt at cobbling together a leak detector: import gc import inspect def dump_garbage(): Continue Reading