Memory operations
- To: mathgroup at smc.vnet.net
- Subject: [mg64895] Memory operations
- From: sir_puding at tut.by
- Date: Tue, 7 Mar 2006 06:11:45 -0500 (EST)
- Reply-to: "sir_puding at tut.by" <mathgroup at smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi. Can anyone tell me how to free memory in Mathematica. I have some list operations in cycle (really long cycle). Smth. like ----------------------- ar={}; For[i=0,++i<10000000000, ar=Append[ar,{bla bla bla}]; ] ----------------------- How can i free memory allocated for ar when cycle is completed --- i have terrible memory leakage (several megs in minute), cause when I use Clear or Remove ar does not point to any address, but the result of previous calculations is still in memory. I could not find any operation like free() in C. Tnx. -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
- Follow-Ups:
- Re: Memory operations
- From: yehuda <bsyehuda@gmail.com>
- Re: Memory operations