MathGroup Archive 2005

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

Search the Archive

Re: Front End Memory usage while exporting many graphics

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55732] Re: Front End Memory usage while exporting many graphics
  • From: "Mariusz Jankowski" <mjankowski at usm.maine.edu>
  • Date: Tue, 5 Apr 2005 03:20:51 -0400 (EDT)
  • Organization: University of Southern Maine
  • References: <d2oetj$fi2$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I believe setting the system symbol $HistoryLength to some small number
should do the trick:

$HistoryLength = 1


Regards, Mariusz




>>> <gdelfino at gmail.com> 4/3/2005 6:01:23 AM >>>
I want to create a large number of plots. I am using a setup similar
to:

Do[
  Export[
    "/Users/Shared/"<>ToString[x]<>".eps",
    Plot[Sin[t], {t, 0, 1}, DisplayFunction->Identity],
    "EPS"],
  {x, 1, 100000}
]

With this setup, the Mathematica Front End memory usage starts growing
quickly
until it crashes. If the front end is not displaying any of the plots,
I don't understand why it keeps using more and more memory.

Is there a memory efficient way of doing this?

I am using Mathematica 5.1.1 under Mac OS X 10.3.8.

Regards,

Gustavo Delfino
Caracas, Venezuela




  • Prev by Date: Re: NSolve an equation involving NIntegrate
  • Next by Date: Re: Use of mathlink in C++
  • Previous by thread: RE: Front End Memory usage while exporting many graphics
  • Next by thread: Re: Front End Memory usage while exporting many graphics