MathGroup Archive 2009

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

Search the Archive

Re: freeing memory used by Import[]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg103640] Re: freeing memory used by Import[]
  • From: markus <markusg.phys at googlemail.com>
  • Date: Thu, 1 Oct 2009 06:37:49 -0400 (EDT)
  • References: <h4h21g$id4$1@smc.vnet.net> <h56bka$bli$1@smc.vnet.net>

On 3 Aug., 11:45, divisor <congruentialumina... at yahoo.com> wrote:
> 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
> vendor.
>
> Regards..
>
> Roger Williams
> Franklin Laboratory
> On Jul 26, 12:53 am, divisor <congruentialumina... at yahoo.com> wrote:
>
> > Hello MathGroup:
>
> > Somehow running the following command a few times depletes all of the
> > free <snipped/>

But from my experience, even using $HistoryLength=1 does not solve the
problem of memory leakage. After a large dataset has been loaded, it
somehow remains in the memory and you can not get rid of it again
unless you restart Mathematica. Remove[..] also does not work.
If this is not a bug then I don't know...


  • Prev by Date: Re: Re: Re: BarChart Range
  • Next by Date: Re: OneIdentity
  • Previous by thread: Re: Mouse-Over or Mouse-Click Values of Coordinates in Plot in Manipulate
  • Next by thread: Re: freeing memory used by Import[]