[SciPy-User] Memory Leak? Problems with deleting numpy arrays.

Stuart Wilkins swilkins at bnl.gov
Sat Nov 6 16:06:55 EDT 2010


Dear All,

Thanks for the info, it appears that all refcounts are 2, as told from getrefcount() which means it is really one (from what you say)

In that case, I am really confused, if i "del" the array or even "del" the whole class in which the arrays are defined. the memory still leaks. Is it possible that these numpy arrays are not being freed by the gc, or that the memory is not being "freed" when the numpy array is deleted?

This is really frustrating! 

S


More information about the SciPy-User mailing list