trans.cache.clear() made the problem disappear from the test case from my last mail (why are objects cached when sqlmeta.cacheValues is set to False?). However, the application is still leaking memory, although not as much as before. As far as I can see by stepping through with the debugger it happens when using SelectResults.
Do SelectResults objects need to be expired, and if so, how? I am pretty sure that i .expire() all SQLObject objects and run .cache.clear() on both the connection and transaction objects when i'm done with them. Is there anything else I need to do to clear caches? Thanks again, -Toke On 1/3/07, Oleg Broytmann <[EMAIL PROTECTED]> wrote: > On Tue, Jan 02, 2007 at 10:43:41PM +0100, Toke H??iland-J??rgensen wrote: > > How do I keep the transactions from leaking memory? > > trans.cache.clear() (I suppose the "problem" which is not really a bug > is in the cache. If not you have to investigate further.) > > Oleg. > -- > Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED] > Programmers don't die, they just GOSUB without RETURN. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > sqlobject-discuss mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ sqlobject-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss
