MathGroup Archive 2009

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

Search the Archive

Re: freeing memory used by Import[]

  • To: mathgroup at
  • Subject: [mg102258] Re: freeing memory used by Import[]
  • From: divisor <congruentialuminaire at>
  • Date: Mon, 3 Aug 2009 05:45:50 -0400 (EDT)
  • References: <h4h21g$id4$>

Hello MathGroup:

As a result of some help from WRI support, the behavior is much more
clear to me now. I actually am not sure if it is a bug and I don't
know if it can be fixed in a subsequent release.

Basically what is happening is that the result of the earlier
invocations are always in Out[n]. This is designed this way (from the
first Mathematica version, I guess) in order to support the "%-m" construct.
This is (of course) controlled by the $HistoryLength system variable.

Since this application does not need to use "%-100" or "%-1000" (which
are fully supported by Mathematica) it can run with a much smaller
$HistoryLength setting. In fact, I will probably use 1 or 2 since I
just need to Export[] the graphic once it is rendered.

I cannot imagine I could get this to work without help from the


Roger Williams
Franklin Laboratory
On Jul 26, 12:53 am, divisor <congruentialumina... at> wrote:
> Hello MathGroup:
> Somehow running the following command a few times depletes all of the
> free <snipped/>

  • Prev by Date: Re: A Question about strings in lists
  • Next by Date: Re: The audience for Mathematica (Was: Show doesn't
  • Previous by thread: Image Translations/Registrations to New Grid
  • Next by thread: Re: Creating a Random Function to Select an Irrational Number