On Jan 18, 10:11 am, Flavio Coelho <[EMAIL PROTECTED]> wrote:

> I am having the exact same problem
>  memory usage increases continuously during inserts...
>
> I am using session.flush(), session.clear() and session.close() every
> N inserts, hoping it would clear the entities from memory, without
> success.

See if this helps:
http://www.sqlalchemy.org/docs/04/session.html#unitofwork_using_expunge



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" 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/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to