I did some long running tests by *increasing the rate of engine 
creation/deletion* (total 2 Lakh). Memory increased and then *it remained 
constant*.

With the attached script *top did show* constant memory in MB.  However 'ps 
-o rss <PID>'  indicated the increase in KB. But again I could see memory 
settling down. 

*So looks like there are no leaks.*

Package versions.

   - SQLAlchemy-0.7.8-0.x86_64
   - psycopg2-2.4.5-0.x86_64
   - python-psycopg2-2.0.14-1.el6_2.1.x86_64
   

Do I need to upgrade any of the packages ? Are there any other memory leak 
fixes in newer versions (like the 0.7.9 C extension case mentioned) ?

Thanks for the excellent support.
Anoop


On Monday, January 14, 2013 8:04:03 PM UTC+5:30, Michael Bayer wrote:
>
> I'm not seeing that.  Script attached again, it runs in a fixed loop.   
> Memory under top is not moving.
>
> So need to know:
>
> - exact SQLAlchemy version
> - exact DBAPI version
> - C extensions in use ?   there have been leaks fixed as recently as 0.7.9 
> in the C extensions
> - modify this script so that it shows memory growth ?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sqlalchemy/-/3f84r8nfDTMJ.
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