Try:

del(myvariable)

Travis

On Dec 8, 2008, at 7:15 PM, frank wang <[EMAIL PROTECTED]> wrote:

Hi,

I have a program with some variables consume a lot of memory. The first time I run it, it is fine. The second time I run it, I will get MemoryError. If I close the ipython and reopen it again, then I can run the program once. I am looking for a command to delete the intermediate variable once it is not used to save memory like in matlab clear command.

Thanks

Frank

Send e-mail faster without improving your typing skills. Get your HotmailĀ® account.
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to