On 04/22/2013 07:53 AM, Justin Lebar wrote:
This is the wifi worker.  I think "script-sources" is code.  Note that
fragmentation (unused-arenas) is way too high, but even despite this
the worker uses too much memory.

2.38 MB (05.13%) -- worker(resource://gre/modules/wifi_worker.js, 0x45584800)
├──1.77 MB (03.81%) -- gc-heap
│  ├──1.74 MB (03.74%) ── unused-arenas

We have a parameter which set a low limit which is used to prevent GC during start-up, I don't think it is used for workers, but this might be something to check that this preference[1] is only used for the main thread. Currently this preference is set to 3 MB before the first GC.

[1] javascript.options.mem.gc_allocation_threshold_mb

--
Nicolas B. Pierron
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to