This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Guile GC behaviour


>>>>> "Greg" == Greg Badros <gjb@cs.washington.edu> writes:

Greg> What will happen if GCing is turned off (and heap expansion is disabled)
Greg> and the heap runs out of space?

You should not turn gc off, guile would not survive long without it. 

However, the allocation of new heap segments is kind of orthogonal to
the gc process itself. The process goes something like this: when gc
is finished it estimates the fraction of the heap cleared up. If this
is too small, a new heap segment is allocated. 

If no new heap segments are ever allocated, execution (and gc) would
proceed until the existing heap runs full (in which case guile
probably rolls over and dies).


---------------------------+--------------------------------------------------
Christian Lynbech          | Ericsson Telebit A/S                       
Fax:   +45 8628 8186       | Fabrikvej 11, DK-8260 Viby J
Phone: +45 8628 8177 + 28  | email: chl@tbit.dk --- URL: http://www.tbit.dk
---------------------------+--------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]