chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Garbage collection


From: felix winkelmann
Subject: Re: [Chicken-users] Garbage collection
Date: Mon, 23 May 2005 06:36:57 -0700

On 5/21/05, Zbigniew <address@hidden> wrote:
> I was wondering if csi keeps some kind of hidden reference to objects
> you create.  Heap memory never seems to get freed, as shown below.
> Running this code as an executable, or compiling it into a shared
> library and running that in csi, does free the memory.
> 

The history-list keeps the results of each evaluated
expression (so that you can refer to earlier results
with #<N>). Something like

#;1> (begin (make-vector ...) #f)

should not retain the garbage.


cheers,
felix




reply via email to

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