[sqlalchemy] Re: Understanding sqlalchemy memory usage and releasing unused memory

2012-02-09 Thread Manav Goel
Hey Thanks for the answer even after my half researched questions which I should not have done. :) Yeah I realised that after posting the question and I dig deep into python memory issues and have improved knowledge a lot. In fact objgraph module is a great one for

[sqlalchemy] Re: Understanding sqlalchemy memory usage and releasing unused memory

2012-02-07 Thread Gunnlaugur Briem
Hi Manav, the final question did touch SQLAlchemy: the one about expiring and expunging. 1. expiring an object creates a weak reference - this is inaccurate. All object references held by the the session (except for objects whose addition, deletion or attribute change is not yet flushed) are