On Jan 15, 2009, at 8:57 AM, koranthala wrote:

> ---->The bug I talked about<---
> I was finding that the memory was increasing quite a bit - My process
> is a long running one and actually within 1 hour, I used to use thrice
> the memory I started with.
> Most probably because a new session is created - and then not closed .
> Also, I used to find that after 1-3 hours the interpreter itself
> crashes.
> I ran the call after making the changes and till now (2 hrs and
> counting) the memory and interpreter is fine.
>
> Thank you very much Micheal.


I'm glad it worked out.  Though the non-closed sessions, assuming they  
weren't placed in a global variable somewhere, should also be garbage  
collected when dereferenced so I'm not sure if they were the sole  
source of your memory issue.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to