[CM] setting heap size preemptively at startup?
iainduncanlists at gmail.com
Fri Sep 10 07:43:43 PDT 2021
Hi, Woody's suggestion would be great for me. That's essentially what I'm
doing manually, but it would cut down unnecessary processing a great deal
if I could instead just do it when the gc wakes up.
I've been using (set! (*s7* 'gc-stats) 1) to watch what goes on. Is there a
way to see when a heap reallocation happens too? or do I just have to get
that info from looking at the gc pass stats after it's done?
On Fri, Sep 10, 2021 at 7:00 AM <bil at ccrma.stanford.edu> wrote:
> I'm willing to add gc-hook -- I'd also like to move
> all the other built-in hooks into the *s7* environment.
> While writing that previous message, it occurred to me
> that the type field could be separate from the cell,
> and then the amount of memory the GC has to read in is
> cut by a factor of 5 or 6.
> And then I noticed that s7_error turns the GC on --
> I think that is left-over from some previous debugging,
> but it will take time to test.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Cmdist