Re: Memory usage problems
- From: Havoc Pennington <hp pobox com>
- To: Colin Walters <walters verbum org>
- Cc: javascript-list gnome org
- Subject: Re: Memory usage problems
- Date: Tue, 21 Jun 2011 16:53:26 -0400
Hi,
On Tue, Jun 21, 2011 at 4:34 PM, Colin Walters <walters verbum org> wrote:
> On Mon, Jun 20, 2011 at 6:07 PM, Havoc Pennington <hp pobox com> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]