cant free ram..
- To: mathgroup at smc.vnet.net
- Subject: [mg109261] cant free ram..
- From: ValeX <rjovale at gmail.com>
- 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]; ClearSystemCache[]; 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?