Garbage collection

Thinker thinker at branda.to
Wed Mar 21 14:37:12 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tom Wright wrote:
> Hi all
>
> I suspect I may be missing something vital here, but Python's garbage
> collection doesn't seem to work as I expect it to. Here's a small test
> program which shows the problem on python 2.4 and 2.5:
............... skip .....................
> (at this point, Python is using 252MB)
>
>
> Is there something I've forgotten to do? Why is Python still using such a
> lot of memory?
>
>
> Thanks!
>
How do you know amount of memory used by Python?
ps 、 top or something?

- --
Thinker Li - thinker at branda.to thinker.li at gmail.com
http://heaven.branda.to/~thinker/GinGin_CGI.py
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGATUI1LDUVnWfY8gRAhy9AKDTA2vZYkF7ZLl9Ufy4i+onVSmWhACfTAOv
PdQn/V1ppnaKAhdrblA3y+0=
=dmnr
-----END PGP SIGNATURE-----




More information about the Python-list mailing list