[kyo guan]
> Python version 2.4.3
>
> >>> l=range(50*1024*100)
>
> after this code, you can see the python nearly using about 80MB.
>
> then I do this
>
> >>> del l
>
> after this, the python still using more then 60MB, Why the python don't free
> my
> memory?
It's that you've created 5 million i
pydoc gc.collect
pydoc xrange
--
http://mail.python.org/mailman/listinfo/python-list
Python version 2.4.3
>>> l=range(50*1024*100)
after this code, you can see the python nearly using about 80MB.
then I do this
>>> del l
after this, the python still using more then 60MB, Why the python don't free my
memory?
Is there any way to force the python free my memory?
Thanks.
Kyo.