From: Martin d'A. <Mar...@s2...> - 2004-11-30 23:05:58
|
On Wed, 1 Dec 2004, Mike Thompson wrote: > Ryan Harper wrote: > > * Martin d'Anjou <Mar...@s2...> [2004-11-29 21:01]: > >>Hi, > >> > >>I think I have found a memory leak. I have a loop that inserts hundreds of > > It is not a memory leak. I thought the same thing, but found out that > > SQLObject caches object creation. Hence, python's memory footprint > > grows with each insert. > Seems to be that this question and your response should be in the FAQ. Along with the _connection.cache.clear() trick. Martin |