MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: release memory

  • To: mathgroup at
  • Subject: [mg98321] Re: release memory
  • From: dh <dh at>
  • Date: Mon, 6 Apr 2009 05:00:10 -0400 (EDT)
  • References: <gr4jnl$ad9$>


it looks like MemoryInUse[] and Windows task manager report different 

numnbers. Internally Mathematica seems to release memory after e.g. 

remove or ClearAll if one believes "MemoryInUse []". However, externally 

these memory releases are not visible, the task manager still reports 

the "released memory".

I faintly remember having once read that the Mathematica Kernel never 

gives up memory it once assigned to variables. But I am currently not 

able to find some relevant info. Does anybody (Wolfram?) now more about 

this issue?


summer wrote:

> I am doing a long memory consuming calculation. At certain point I get variable 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 it available?


> I tried ClearAll[...], it deletes the variable but the memory doesn't become available - I watch the Windows Task Manager and it doesn't show increase 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 to make the memory available again during calculation.


  • Prev by Date: RE: Partial derivatives for implicit functions
  • Next by Date: Re: release memory
  • Previous by thread: Re: release memory
  • Next by thread: Re: release memory