How is memory managed in python?

Vishal Rana ranavishal at gmail.com
Tue Jul 20 11:50:57 EDT 2010


Hi Christian,

I am not sure which one is used in this case, I use htop to see the memory
used by apache / python.

Thanks
Vishal Rana


On Tue, Jul 20, 2010 at 5:31 AM, Christian Heimes <lists at cheimes.de> wrote:

> > In my web application (Django) I call a function for some request which
> > loads like 500 MB data from the database uses it to do some calculation
> and
> > stores the output in disk. I just wonder even after this request is
> served
> > the apache / python process is still shows using that 500 MB, why is it
> so?
> > Can't I release that memory?
>
> Are you talking about resident or virtual memory here?
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100720/2a97d583/attachment-0001.html>


More information about the Python-list mailing list