Simplify and Memory
- To: mathgroup at smc.vnet.net
- 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 wolfram.com
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.
- Follow-Ups:
- Re: Simplify and Memory
- From: Daniel Lichtblau <danl@wolfram.com>
- Re: Simplify and Memory