[Date Index] [Thread Index] [Author Index]
Re: release memory
The result is also in the Out[..] variable. You can clear that (see tutorial/MemoryManagement). Alternatively, you could prevent that the history is stored by setting $HistoryLength to zero before you start. Cheers -- Sjoerd On Apr 3, 11:09 am, summer <summer... at hotmail.com> wrote: > I am doing a long memory consuming calculation. At certain point I get va= riable contaning huge amount of numerical data. I process it and don't need= it anymore. > > Is there a way to delete it and RELEASE the memory it takes, i. e. make i= t available? > > I tried ClearAll[...], it deletes the variable but the memory doesn't bec= ome available - I watch the Windows Task Manager and it doesn't show increa= se in the available memory. > > I know quitting the kernel releases all the used memory but it stops the = calculation which I don't want. If I don't release the memory of variables = I no longer need, soon I ran out of memory, that's why I need to know how t= o make the memory available again during calculation.