|
From: Travis O. <oli...@ee...> - 2005-08-18 18:30:09
|
Daniel Sheltraw wrote: > Hello All > > Is their a reliable way to free memory allocated for an array in Numeric? > My application uses a lot of memory and I need to free some as it goes > along. > Assuming this is all in Python, you just need to delete all names bound to the array. >>> del arr This will remove the memory for arr assuming there are no other arrays referencing arr's memory (i.e. from indexing expresssions arr[3,:] and or name binds). -Travis |