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: Gen GC?


Han-Wen Nienhuys <hanwen@cs.uu.nl> writes:

> mlivshin@bigfoot.com writes:
>
> > what do you mean by "memory usage", btw?  time spent in GC or the
> > amount of memory used?
> 
> I can't really tell, but the memory footprint for large scores is
> ludicrous, and memory accesses are very spread out causing the program
> to trash.  Someone is trying to typeset the Brahms piano concerto, and
> then memory usage exceeds 250 megs; I am looking at how to diminish
> this. Maybe better GC might help GUILEs paging behavior.

hmmm...  GenGC per se won't be helpful here, I'm afraid.

can you check where (code-wise) does Guile touch a lot of pages?  if
it's under scm_gc_sweep, than perhaps I should implement lazy sweeping 
first...

you could also try configuring a recent Guile version with
--enable-debug-malloc and see whether you leak smob memory.

-- 
Life's a duck, and then you sigh.

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