This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: GC and continuations
- To: guile at sourceware dot cygnus dot com
- Subject: Re: GC and continuations
- From: Janis Dzerins <jonis at mt dot lv>
- Date: Tue, 22 Feb 2000 10:47:41 +0200 (EET)
On 21 Feb 2000, Jim Blandy wrote:
>
>> > > But the fact stays the same --- when guile accumulates for example 40M, it
>> > > stays that big forever (I supose; that was my question).
>>
[detailed emacs memory usage description here...]
>But: enough reminiscence. I'm pretty sure Guile just uses malloc and
>free; if they never return memory to the kernel, then Guile won't.
I haven't looked into how guile manages memory, but here is what I did:
First I run one guile process with call/cc's I described earlier. When it's
size was about 35M I stopped it and run another guile process to do the same
thing. After some time of second guile's memory grabbing size of first guile
process started to shrink.
So, my conclusion is: this is all matter of kernel memory management. There is
no porblem with guile's GC.
I'm sorry to cause such a noise instead of doing a bit more research first
(and I hope I came to right decision after all).
--
jonis
There is no likelihood man can ever tap the power of the atom.
-- Robert Millikan, Nobel Prize in Physics, 1923