From: Robert Igo
Subject: gcl2.2.2/linux memory allocation problem
Date: 
Message-ID: <36AF4D60.710B1E23@cs.cmu.edu>
Hi.  I've tried searching for the answer to my questions on dejanews,
and I looked for a GCL faq or book which might explain it to me, but I
found nothing.  If my question can be answered by a pointer to something
I missed, I'd appreciate it.

Anyway, here's my problem.  GCL, of course, likes you to tell it how
much memory space you need for certain datatypes.  The problem I'm
having is that I've allocated all the datatypes as tightly as I could. 
I'm at the point now that if I allocate any extra space for any
datatype, I run out of memory, and if I reduce the allocation for any
datatype, I get an error that there isn't enough space for it.  I just
can't tweak the numbers anymore.

Normally, I'd assume this meant that I really ran out of memory, but
we're using a linux machine (a Pentium 2) with 64MB of main memory and
over 250MB of swap memory.  The resulting lisp images which we end up
with (using other lisps) are about 30M in size, so they are rather huge,
but not so huge that I'd think it'd eat up all the available system
memory.

'top' tells me that I'm 8M short of using up the main memory, and 250M
short of using up the swap memory.  And here is the particular error I
get when trying to compile:

***

Correctable error: Contiguous blocks exhausted.
                   Currently, 1735 pages are allocated.
                   Use ALLOCATE-CONTIGUOUS-PAGES to expand the space.
Signalled by MAKE::LOAD-FILE-OPERATION.
If continued: Continues execution.
Broken at LOAD.  Type :H for Help.
>>(si::ALLOCATE-CONTIGUOUS-PAGES 1736 t)

Error: Can't allocate 1736 pages for contiguous blocks.
Error signalled by SYSTEM:ALLOCATE-CONTIGUOUS-PAGES.
Backtrace: system:universal-error-handler > evalhook >
system:allocate-contiguous-pages > system:allocate-contiguous-pages >
system:universal-error-handler > SYSTEM::BREAK-LEVEL

***

I'm at a loss for what to do next.  Has anyone experienced anything
similar?

Any help is greatly appreciated.

Danke,
-- 
Bob Igo, human
From: Marco Antoniotti
Subject: Re: gcl2.2.2/linux memory allocation problem
Date: 
Message-ID: <lwiudr7q40.fsf@copernico.parades.rm.cnr.it>
My personal suggestion in this cases is obviously to dump GCL and get
CMUCL.

Cheers

-- 
Marco Antoniotti ===========================================
PARADES, Via San Pantaleo 66, I-00186 Rome, ITALY
tel. +39 - (0)6 - 68 10 03 17, fax. +39 - (0)6 - 68 80 79 26
http://www.parades.rm.cnr.it