On Sun, May 22, 2011 at 6:27 AM, Jeffrey Spencer <[email protected]>wrote:

> I have had issues with Linux (Ubuntu 10.04 x86_64) not releasing memory
> back to the OS. I have code here the exhibits the issue:
>
>
> http://stackoverflow.com/questions/5975255/memory-allocated-to-python-in-the-os-is-never-released-back-in-linux-even-after-g
>
> Can you post an actual example that shows your issue? That code doesn't do
anything - it only imports some libraries and defines a class which is not
even instantiated.


> Then I read at http://pushingtheweb.com/2010/06/python-and-tcmalloc/
> that this was a problem fixed by compiling your own version of Python
> using the TCMalloc library which I have now done.


Funny how such a thing never comes up, and then twice in three days:)
http://thread.gmane.org/gmane.comp.python.numeric.general/43965

Ralf


> The issue is still
> exhibited so I was keen to know if possibly it was because numpy is
> compiled and linked to the default memory management library (not sure
> if this is true or how this works but would I also need to compile numpy
> linked to the TCMalloc library). Let me know if anyone has any insight
> on this issue. Or if it isn't related to numpy at all.
>
>
> --
> ______________________________________________________
> Jeffrey Spencer
> Department of Electronics and Electrical Engineering
> Nonlinear Signal Processing Group
> The University of Melbourne
> [email protected]
> (Mob.) 044 991 7726
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> [email protected]
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to