|
[Date Index]
[Thread Index]
[Author Index]
Re: Freeing memory in Mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg19643] Re: Freeing memory in Mathematica
- From: Mark Sofroniou <marks at wolfram.com>
- Date: Tue, 7 Sep 1999 00:28:37 -0400
- Organization: Wolfram Research Inc
- References: <7q9g8i$o43@smc.vnet.net> <7qkmbq$4rr$2@dragonfly.wolfram.com> <7qqcd8$4hh@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
bettina_hansen at writeme.com wrote:
> ...
>
> Any suggestions for easier implementation of memory freeing?
Here are two methods. Set $HistoryLength to discard stored results after a
certain number of calculations.
In[1]:= ?$HistoryLength
$HistoryLength specifies the number of previous lines of input and output to
keep in a Mathematica session.
You can also load this package which calls Share at specified intervals. The
intervals can be specified by setting $MemoryIncrement.
In[2]:= Needs["Utilities`MemoryConserve`"];
In[3]:= ?MemoryConserve
MemoryConserve will reduce memory use with the Share function when memory used
has increased by $MemoryIncrement. On[ MemoryConserve] will use $Pre to
make this happen automatically.
Mark
Prev by Date:
Re: Problem with the zero-term of Fourier[]
Next by Date:
Re: Re: Multiple sum with iterators that cannot equal
Previous by thread:
Re: Freeing memory in Mathematica
Next by thread:
Re: Freeing memory in Mathematica
|