MathGroup Archive 2005

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

Search the Archive

Re: Simplify and Memory

  • To: mathgroup at smc.vnet.net
  • Subject: [mg58231] Re: Simplify and Memory
  • From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 24 Jun 2005 02:49:50 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <d9e0cq$g6v$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

Developer`ClearCache[]

may help you

Regards
  Jens


"Geraud" <nospam at nospam.nospam> schrieb im 
Newsbeitrag news:d9e0cq$g6v$1 at smc.vnet.net...
> Hi Group
>
> I have a list of complicated expressions 
> ExprList={expr1,expr2,...} and
> I try to (Full)Simplify them.
>
> If I apply (Full)Simplify to ExprList or to each 
> of the expressions
> inside (in a Do[] loop), the kernel goes out of 
> memory (2 GB PIV computer).
>
> However if I save the expressions in a file and 
> I simplify each
> expression one after the other, quitting the 
> kernel at each step, it works.
>
> It seems that Mathematica keeps in memory a lot 
> of information about
> past simplification processes. It is useful for 
> saving time (try to
> simplify two similar expressions), but very 
> expensive as far as memory
> is concerned.
>
> "Clear[Out]" or "Share[expr]" at each step does 
> not help.
>
> How can I delete the memory associated with 
> Simplify at each step,
> rather than quitting the kernel and doing the 
> loop by hand ?
>
> Thanks a lot.
>
> G.
> 



  • Prev by Date: Re: Asking questions
  • Next by Date: Re: Pattern Matching
  • Previous by thread: Re: Re: Asking questions
  • Next by thread: Re: General 3-state stochastic matrix (again)