MathGroup Archive 2005

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

Search the Archive

Simplify and Memory

  • To: mathgroup at
  • Subject: [mg58216] Simplify and Memory
  • From: Geraud <nospam at nospam.nospam>
  • Date: Thu, 23 Jun 2005 05:33:52 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

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.


  • Prev by Date: Re: a question about plot a list of functions.
  • Next by Date: Re: For Loop and Array related
  • Previous by thread: Re: Pattern Matching
  • Next by thread: Re: Simplify and Memory