[SciPy-user] memory usage

Matthieu Brucher matthieu.brucher@gmail....
Thu Aug 9 07:48:22 CDT 2007

> for example... do i need to delete arrays i don't use anymore? if so...
> how?

As long as a variable references the array, it is not deleted. If you want
to delete a variable, just tape del variable.
If your code is corretly organized, you souldn't have much of these to write
as the variable is deleted after it goes out of function/method scope

do i need to close images after i've read data from them?

It can be interesting, as for every variable, in fact.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20070809/8dc6ebcd/attachment.html 

More information about the SciPy-user mailing list