[sqlalchemy] Sqlalchmey session memory is never released when used with pyramid.

2014-08-15 Thread Narendra L
Actual question is here: http://stackoverflow.com/questions/25200475/sqlalchmey-memory-leak-how-to-free-memory What measures should I take to cleanup old session objects? Isn't session.close() is sufficient? or Is it something to do with pyramid? Sqlalchmey

Re: [sqlalchemy] Sqlalchmey session memory is never released when used with pyramid.

2014-08-15 Thread Simon King
On Fri, Aug 15, 2014 at 11:26 AM, Narendra L feelna...@gmail.com wrote: Actual question is here: http://stackoverflow.com/questions/25200475/sqlalchmey-memory-leak-how-to-free-memory What measures should I take to cleanup old session objects? Isn't session.close() is sufficient? or Is it

[sqlalchemy] Re: Sqlalchmey session memory is never released when used with pyramid.

2014-08-15 Thread Jonathan Vanasco
I'd suggest two things: 1- Post the OS and Python versions 2- Build a minimal self-contained version of the issue, that you can share on github Aside from making it easier to identify the issue yourself, there have been a handful of odd memory leaks on Pyramid that are specific to particular

Re: [sqlalchemy] cannot access tables

2014-08-15 Thread Michael Bayer
On Aug 15, 2014, at 5:03 PM, Greg Silverman g...@umn.edu wrote: Then, I thought, what if this is an SQLAlchemy issue. Looks to be. I ran the following script as a test: import pyodbc import sqlalchemy from sqlalchemy.engine import reflection from sqlalchemy.engine.reflection import