[Maxima] Garbage collection
elzacho at gmail.com
Wed Nov 12 00:25:29 CST 2008
So, I don't use GCL, but I was able to look at the manual and it says that
the GBC function in the LISP package will do this for you:
-- Function: GBC (x)
GCL specific: Invokes the garbage collector (GC) with the
collection level specified by X. NIL as the argument causes GC to
collect cells only. T as the argument causes GC to collect
So, try :lisp (gbc t). Once again, garbage collection is automatic, so if
the objects are not accessable there is no reason to call this, and if they
are, then it will do nothing towards solving your problem. Most likely
there you are holding onto objects somewhere. Good Luck.
On Tue, Nov 11, 2008 at 9:58 PM, Richard Hennessy <rvh2007 at comcast.net>wrote:
> "Are you running out of memory or something?"
> Yes. I am getting out of memory messages. My pc still has more memory
> available, but Maxima is not able to use it for
> some reason. I have processes that when they are running are using up
> 300-400 MBytes. When they finish and I release
> all of the variables and arrays the memory still is showing 300-400 MBytes
> in use. I have to do many step processes one
> step one at a time and save the results to a file using stringout(). Then
> I read in the file and go on to the next step
> with a fresh restart of Maxima.
> I am using GCL which does not have the GC command. I am still looking for
> the right garbage. (Apropos 'garbage) bring
> up a lot of stuff but I am not sure which one is the one I want, if any.
> All the "command's" that come up actually are
> not commands at all. I don't know what they are. There is something
> called "garbage", it is not a command.
> Maxima mailing list
> Maxima at math.utexas.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Maxima