[SciPy-user] memory usage

Emanuele Zattin emanuelez@gmail....
Thu Aug 9 07:58:30 CDT 2007

hmmm... then it's pretty weird... my code uses no global variables and
it's divided into several functions. still investigating... :)

On 8/9/07, Matthieu Brucher <matthieu.brucher@gmail.com> wrote:
> > 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.
> Matthieu
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user

Emanuele Zattin
-I don't have to know an answer. I don't feel frightened by not
knowing things; by being lost in a mysterious universe without any
purpose — which is the way it really is, as far as I can tell,
possibly. It doesn't frighten me.- Richard Feynman

More information about the SciPy-user mailing list