On Feb 22, 6:08 am, Allen Bierbaum <abierb...@gmail.com> wrote:
> The python process.  The number of objects seems to remain fairly
> controlled.  But the amount of resident memory used by the python
> process does not decrease.  I had expected that by calling
> gc.collect(2) python would reclaim any objects that could be freed and
> free all memory associated with them, thus decreasing the consumed
> memory.  Maybe this is an invalid assumption.  Do you know any way to
> ask python to shrink it's process size (ie. clear unused memory that
> has been freed but evidently not given back to the OS)?

Python 2.5 and later will free up garbage collected memory, handing it
back to the system.  Previous versions of Python would never free up
memory (hence never shrink in size).

Are you using Python 2.4?

Cheers,
Chris Miles


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

Reply via email to