From: Joe Van Dyk Date: 2005-03-23T10:57:30+09:00 Subject: Re: memory leak On Wed, 23 Mar 2005 10:44:04 +0900, Joel VanderWerf wrote: > Nikolai Weibull wrote: > > * Joe Van Dyk (Mar 23, 2005 02:20): > > > >>Are there any tools or strategies that I can use to track down the > >>leak? > > > > > > http://valgrind.org/, > > nikolai > > > > But that won't help if the objects are reachable from the root > references in the interpreter. In other words, it's not a true memory > leak, but you've forgotten to clear out a reference somewhere. How can i clear a reference? I ran into trouble before when I had a bunch of objects that I was observing. When I overwrote those objects, the old objects stayed around (because the other objects were still observing them). I think a call to delete_observers fixed my problem. And I think something like that might be the cause of my problem.