how to increase the maximum number of pages in gcl?
Subject: how to increase the maximum number of pages in gcl?
From: Nels Tomlinson
Date: Sat, 16 Jun 2001 09:40:09 -0500
Hi,
I'm running a big messy job, and run out of memory quickly. (Allocate
'cons really-big-number) doesn't help, because there just aren't enough
pages to go 'round. I've tried setting *ignore-maximum-pages* to true,
but that doen't seem to produce any effect. (Room) produces the
following output at the beginning of a job:
[tomlinso@desktop gcl-2.4.0]$ maxima
GCL (GNU Common Lisp) Version(2.4.0) Wed May 9 12:02:00 CDT 2001
Licensed under GNU Library General Public License
Contains Enhancements by W. Schelter
Maxima 5.6 Wed May 9 12:01:49 CDT 2001 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1)
MAXIMA>>(room)
<SNIP>
378 pages for cells
556 total pages
30069 pages available
2143 pages in heap but not gc'd + pages needed for gc marking
32768 maximum pages
MAXIMA>>
That 32768 maximum pages seems to work out to about 128M, and I may
well need four times that. I'm running this on a machine with 512M of
ram and tons of swap space, and buying more ram isn't out of the
question, so it makes sense to have a really big maximum pages.
Is there an argument on the command line when I run gcl, or is there
something I can edit in the config or makefile, which will give me some
extra room?
Thanks,
Nels Tomlinson