Re: [SQLObject] "Memory Leak" in sqlobject/cache.py

2009-10-09 Thread Oleg Broytman
On Thu, Oct 08, 2009 at 11:30:51AM -0700, Jason Culverhouse wrote: > I do 2 things in the cull method > 1 - cull dead weak references out of the expiredCache. > 2 - avoid placing dead weak references into the expiredCache Works fine. I applied it and committed in the revisions 4028-4030 (branch

Re: [SQLObject] "Memory Leak" in sqlobject/cache.py

2009-10-08 Thread Oleg Broytman
On Thu, Oct 08, 2009 at 11:30:51AM -0700, Jason Culverhouse wrote: > I do 2 things in the cull method > 1 - cull dead weak references out of the expiredCache. > 2 - avoid placing dead weak references into the expiredCache Looks good. I will try it and apply it. Oleg. -- Oleg Broytman

[SQLObject] "Memory Leak" in sqlobject/cache.py

2009-10-08 Thread Jason Culverhouse
Hi, I'm using an older copy of SQLObject but sqlobject/cache.py hasn't really changed in 2 years, so this applies to current and past versions. I operate a website that runs around 4million requests a day through an application using SQLObject. At about mid day I end up with large amount of we