MathGroup Archive 2010

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

Search the Archive

cant free ram..

  • To: mathgroup at
  • Subject: [mg109261] cant free ram..
  • From: ValeX <rjovale at>
  • Date: Mon, 19 Apr 2010 05:59:46 -0400 (EDT)

i'm running a Do loop over a grid of points, say 100x100.
the problem is that for every grid point the ram used increases by 1.4
MB and so i cant actually finish the evaluation
[100x100x1.4 is roughly 14GB]

of all the outputs i need only 3 numbers per grid point and so i tried
the following:

ClearAll[all the variables i used and i dont need anymore];
Unprotect[In, Out]; Clear[In, Out]; Protect[In, Out];

but the memory does not go down...
even if i do Remove["Global`*"] nothing happens.

in the Do loop i do a bunch of things like FindRoot, Interpolation,
NDSolve, NIntegrate, ..
is it that maybe i've got to clear some specific place other than the
history and Global?

  • Prev by Date: Easy way to label graphics grids?
  • Next by Date: Re: No state-space form possible example
  • Previous by thread: Re: Easy way to label graphics grids?
  • Next by thread: Re: cant free ram..