[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Re: Garbage collection
From: |
Zbigniew |
Subject: |
[Chicken-users] Re: Garbage collection |
Date: |
Mon, 23 May 2005 11:09:25 -0500 |
Oh, I thought that was just command history so I never tried it!
That's really neat.
On 5/23/05, felix winkelmann <address@hidden> wrote:
> 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
>