Hi, On Tue, Jun 21, 2011 at 4:34 PM, Colin Walters <[email protected]> wrote: > On Mon, Jun 20, 2011 at 6:07 PM, Havoc Pennington <[email protected]> wrote: >> The simple solution (used in the litl shell) is to GC while idle. > > We call JS_MaybeGC(). However it's not really enough.
Doesn't MaybeGC only gc if memory has increased 1/3 since last GC? since it has to increase 1/3 _not counting native objects_ ... I think you have to plain GC, not maybe GC >> I feel like this was already discussed in bugzilla or something for >> gjs or gnome-shell but I don't remember where. > > See commit 45b550d6 in gjs, https://bugzilla.gnome.org/show_bug.cgi?id=640790 Ah yes, that's what I was thinking of. Havoc _______________________________________________ javascript-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/javascript-list
