chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Disable garbage collection


From: Felix
Subject: Re: [Chicken-users] Disable garbage collection
Date: Thu, 05 Aug 2010 04:31:25 -0400 (EDT)

From: address@hidden
Subject: [Chicken-users] Disable garbage collection
Date: Wed, 04 Aug 2010 21:40:36 +0200

> Hi,
> 
> is there a way to disable and enable garbage collection at runtime?
> 

No, disabling GC would disable procedure calls (since continuation-frames
are heap-allocated). You can reduce "major" GCs (which usually take longest)
by either using a large initial heap (for example by using the "-:h..."
runtime parameter) and trying to avoid consing much, but GC is intertwined
with procedure call and -return in the execution scheme used by CHICKEN.


cheers,
felix



reply via email to

[Prev in Thread] Current Thread [Next in Thread]