Greetings!  When GC'ing relocatable pages, which uses a fast copying
algorithm, one needs to temporarily allocate about twice the current
relblock usage plus a new hole.  This winds up being about 300k pages
in your case, more thanthe 262k available.

One can do (si::gbc nil) here instead of (si::gbc t), the former of
which does a 'cons type gc (of the whole immovable heap), and the
latter of which gc'es the whole core, including the relocatable area. 

We may be able to put in a toggle function which allocates hash in the
slower but less space-hungry contiguous pages, as is done for bignums
now in #"si::set-gmp-allocate-relocatable.

Take care,

Robert Boyer <[EMAIL PROTECTED]> writes:

> Hi Camm,
> 
> On the same theme, the transcript below shows that things are really in a
> very screwed up state right after
> 
>   (progn (make-hash-table :size 70000000) nil)
> 
> one can't even GBC.  However, if the form
> 
>  (progn (make-hash-table :size 50000000) nil)
> 
> is evaluated, then (si::gbc t) seems to work fine.
> 
> Bob and Warren
> 
> 
> -------------------------------------------------------------------------------
> 
> /projects/hvg/compBio/tools/gcl-2.6.6/xbin/gcl
> GCL (GNU Common Lisp)  2.6.6 CLtL1    Mar  8 2005 22:20:59
> Source License: LGPL(gcl,gmp), GPL(unexec,bfd)
> Binary License:  GPL due to GPL'ed components: (BFD UNEXEC)
> Modifications of this banner must retain notice of a compatible license
> Dedicated to the memory of W. Schelter
> 
> Use (help) to get some basic information on how to use GCL.
> 
> >(progn (make-hash-table :size 70000000) nil)
> 
> NIL
> 
> >(si::gbc t)
> 
> Unrecoverable error: Can't allocate.  Good-bye!.
> Abort
> 
> 
> 

-- 
Camm Maguire                                            [EMAIL PROTECTED]
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah


_______________________________________________
Gcl-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gcl-devel

Reply via email to