[SciPy-user] How to delete unused array in SciPy

Lorenzo Isella lorenzo.isella@gmail....
Sun Jan 13 08:00:47 CST 2008


Dear All,
While using SciPy to postprocess some large datasets, I often run out of memory.
I think that this could be improved if I was able to get rid of some
large arrays I need only at some point in my calculations.
How do I remove an array in Python? Apart from re-defining it as
something "smaller", is there a way to free the memory which had been
allocated for that array?
Many thanks

Lorenzo


More information about the SciPy-user mailing list