[developers] LKB images on 32-bit FC6 machine

Ben Waldron ben.waldron at hf.ntnu.no
Mon Sep 3 19:48:29 CEST 2007


Have you tried playing with the following "black magic" parameters (in 
~/.clinit.cl)? Nudge the numbers a little and memory allocation problems 
such as you are having below tend to disappear -- for a while, at least...

(setf (sys::gsgc-parameter :generation-spread) 20)
(sys:resize-areas :verbose t :new 128000000 :old 64000000)

- Ben

Ann Copestake wrote:
> I'm hitting a problem when I try and construct an LKB image on FC6 with a 
> 32-bit machine.  Relevant bit of the error message is appended.  This doesn't 
> happen when compiling the LKB normally - the machine in question only has 1 
> Gig, but I can run the ERG.  I have tried with ACL_specific/image.lsp and also 
> with a variant where I make the space and heap values identical to those in 
> bclim.lisp (I am running the compiled system on a bclim image as usual).  I 
> can successfully build images on other 32-bit machines but can't run these on 
> the 32-bit FC6 machine - I get a memory error though no info about specific 
> location.  64-bit FC6 seems OK.  Any ideas?
>
> Ann
>
> ;   Fast loading /auto/homes/aac10/lingo/lkb/src/.l8cl/preprocess/saf-conf.fasl
> Error (from DEBUG): An allocation request for 8388600 bytes caused tenuring
>                     and a need for 25952256 more bytes of heap.  The operating
>                     system will not make the space available because of a lack
>                     of swap space or some other operating system imposed limit
>                     or memory mapping collision.
> Evaluation stack:
>
>    (EXCL::INTERNAL-INVOKE-DEBUGGER "Error" #<STORAGE-CONDITION @ #x4b0c5f72> T)
>    (ERROR STORAGE-CONDITION :FORMAT-CONTROL "~
> ~:[An explicit gc call~*~;An allocation request for ~d bytes~] ~
> caused ~:[~;tenuring and ~]a need for ~d more bytes of heap.  ~
> ~:[The operating system will not make the space available because ~
> of a lack of swap space or some other operating system imposed ~
> limit or memory mapping collision~;~
> This would exceed the prealloc=~d limit currently set.  This limit is ~
> determined by the size of the setf bitmap, which could not be enlarged for ~
> some reason.  Try fixing swap availability, or rebuild with a larger ~
> prealloc argument.~]." :FORMAT-ARGUMENTS (T 8388600 T 25952256 NIL NIL))
>    (EXCL::STORAGE-FAILURE 8388600 1 25952256 NIL 2)
>    (SYS::..RUNTIME-OPERATION 2097145 0)
>    (EXCL::MAKE-HASH-TABLE-INTERNAL EQL 2097145 131071 16.0 T NIL NIL)
>    (EXCL::DO-REHASH #1=#<EQL hash-table with 4469 entries @ #x47c549aa>
>                     2097145)
>    (EXCL::%PUTHASH #\? #1# T)
>  ->(PPCRE::MERGE-HASH #1# #<EQL hash-table with 65439 entries @ #x453a3ae2>)
>    (PPCRE::CONVERT-CHAR-CLASS-TO-HASH #2=(#\+ :WORD-CHAR-CLASS #\.))
>    (PPCRE::CONVERT-AUX NIL)
>    (PPCRE::CONVERT-AUX (NIL NIL NIL))
>    (PPCRE::CONVERT-AUX #<PPCRE::SEQ @ #x47c3f0da>)
>    (PPCRE::CONVERT-AUX (NIL NIL NIL))
>    (PPCRE::CONVERT-AUX
>       #3=(:GROUP
>           (:SEQUENCE #<PPCRE::ANCHOR @ #x47c54aa2>
>            (:REGISTER (:GREEDY-REPETITION 0 NIL (:CHAR-CLASS . #2#))) #\=
>            (:REGISTER (:GREEDY-REPETITION 0 NIL :EVERYTHING))
>            (:GREEDY-REPETITION 0 NIL :EVERYTHING) :END-ANCHOR)))
>    (PPCRE::CONVERT #3#)
>    ((METHOD PPCRE:CREATE-SCANNER (T)) #3# :CASE-INSENSITIVE-MODE NIL
>                                       :MULTI-LINE-MODE NIL :SINGLE-LINE-MODE
>                                       NIL :DESTRUCTIVE T)
>    (SYS::..RUNTIME-OPERATION . :UNKNOWN-ARGS)
>    ((:INTERNAL (:EFFECTIVE-METHOD 1 T T NIL NIL) 0) #3# :CASE-INSENSITIVE-MODE
>                                                     NIL :MULTI-LINE-MODE NIL
>                                                     :SINGLE-LINE-MODE NIL
>                                                     :DESTRUCTIVE T)
>    [... PPCRE:CREATE-SCANNER ]
>    ((METHOD PPCRE:CREATE-SCANNER (STRING)) #4="^([+\\w.]*)=(.*).*$")
>    (SYS::..RUNTIME-OPERATION . :UNKNOWN-ARGS)
>    ((:INTERNAL (:EFFECTIVE-METHOD 1 T T NIL NIL) 0) #4#)
>    [... EXCL::%EVAL ]
>    (EVAL (PPCRE:CREATE-SCANNER #4#))
>
>   


-- 
Mer og mer av vår import kommer utenfra.




More information about the developers mailing list