This is the mail archive of the guile@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: guile GC & smobs


Jon Trowbridge <trow@emccta.com> writes:


> But is there a way to "scm_report_memory_usage"?  Is it considered
> proper to just manually increment scm_mallocated?  Or is there some
> other way of dealing with this?  Or should I just get an extra 256M of
> memory to put in my workstation and not worry about it too much?

scm_done_malloc(size) does this (though, if you're really dead set on
getting the memory, go for it ;).
 


-- 
Greg