JavaScript/Projects/MemShrink

From MozillaWiki
Jump to: navigation, search
Ambox outdated.png THIS PAGE IS OBSOLETE
This article is in parts, or in its entirety, outdated. Hence, the information presented on this page may be incorrect, and should be treated with due caution. Visit SpiderMonkey.dev for more up to date information.
Do not edit this page THIS PAGE IS PROPOSED FOR DELETION
This page no longer used

Objective

  • Reduce Gecko's memory usage, especially on Firefox OS devices.

Meetings

  • No scheduled meetings
    • Vidyo room:
    • IRC: #jsapi
    • Meeting notes:

People

Engineering Management
  • Naveed Ihsanullah
Engineering
  • Terrence Cole (GC)
  • Steve Fink (GC)
  • Jon Coppeard (GC)
  • Nicholas Nethercote (MemShrink)
Program Management
  • Chris Peterson

Bugs

Full Query
ID Summary Whiteboard Keywords Priority Status Assigned to
486321 Large arrays that start out sparse/slowified waste memory if they are filled in so that they effectively become dense [MemShrink:P3] -- NEW
651448 Clear statement-lifetime artifacts after each top level statement [MemShrink:P3] -- NEW
661467 Leaks during dromaeo tests? [MemShrink:P3] -- NEW
669684 Avoid allocating a chunk for time-based GC trigger [MemShrink:P3] memory-footprint -- NEW
679942 attach shareable portion of JSScript to necko cache [MemShrink:P2] -- REOPENED
690229 Facebook JS compartment on non-Facebook site uses 25-200MB per tab [MemShrink:P2][platform-rel-Facebook] -- NEW
722749 add source information about where a JS object was allocated in DumpHeapComplete [MemShrink:P2][firebug-p1] -- NEW
727615 Do small dependent strings effectively leak large strings? [MemShrink:P3] -- NEW
730177 Page doing a bunch of XHR and image loading seems to never trigger GC/CC [MemShrink:P2] -- NEW
752339 JS uses MADV_DONTNEED to decommit on mac, but should use MADV_FREE [js:t][MemShrink:P3] -- NEW
752342 JS GC chunk allocator needs an equivalent of jemalloc's DOUBLE_PURGE (definitely Mac, maybe Windows too) [js:t][MemShrink:P2] -- NEW
791853 Add memory reporters for self-hosted JS [MemShrink:P2][js:t] -- NEW
799250 madvise(MADV_DONTNEED) overdeep stacks [Memshrink:P3][slim:?] -- NEW
855669 Figure out how emscripten &co can decommit memory [MemShrink:P2] -- NEW Douglas Crosher [:dougc]
864927 optimize in-chrome workers to be more memory efficient [MemShrink:P2][~5MB][Async:blocker] -- REOPENED Naveed Ihsanullah [:naveed]
869263 Use interrupt-check to trigger full GCs on mem-pressure events. [MemShrink:P2] -- NEW
881914 GC seems to trigger too late when juggling huge structured clones [MemShrink:P2] -- NEW
894971 Entrain fewer unnecessary variables in closures [MemShrink:P2] -- NEW
896753 Memory reporter for structured clone buffers [MemShrink:P2] -- NEW
916748 Report scope chain leaks. [MemShrink:P2] -- NEW
921213 Use only one zone for self-hosted and the worker compartment instead of multiple. [MemShrink:P2] -- NEW
941786 Disable saving source for chrome code [MemShrink:P3] -- NEW
985539 Modify JS heap dumping to include information about empty cells in each arena [MemShrink:P2] -- NEW
987955 Figure out how much we could save by sharing bytecode/sources per-process [e10s-multi:+][MemShrink:P1] -- NEW
988356 Investigate making the empty chunk pool per-process [MemShrink:P2] -- NEW
1001426 60--80 MiB memory overhead on start-up with Adblock Plus [MemShrink:P2] -- NEW
1008337 [meta] GC memory efficiency tracking bug [MemShrink:meta] meta P2 ASSIGNED Terrence Cole [:terrence]
1025085 Support copy-on-write for ArrayBuffers copied between (DOM Worker) threads [Games][MemShrink:P2] -- NEW
1084626 Remove support for Chrome -> Content leaks through debugger objects [MemShrink:P2] -- NEW
1106662 Memory leak on piratepad.net [MemShrink:P3] -- NEW
1113636 Consider Increasing JavaScript source compression to reduce memory usage [MemShrink:P2] -- NEW
1117180 Messing with weakmap can result on negative value for heap-unclassified [MemShrink:P3] -- NEW
1134590 Freeing up memory after Emscripten page closes [MemShrink:P2] -- NEW
1141242 [escalate] Continuously refreshing a tab after an interval leads to high memory consumption [MemShrink:P2] -- UNCONFIRMED
1157839 Investigate using refcounted strings for wrapping [MemShrink:P2] -- NEW
1162497 Relazify scripts with inner functions [MemShrink:P2] -- NEW
1172193 Heuristics for zone GCs are bad [MemShrink:P2] -- NEW
1178651 Consider sharing the self-hosting compartment from chrome to content processes [MemShrink:P2] -- NEW
1315757 Share atoms across processes [MemShrink:P2][e10s-multi:+] P3 NEW
1316428 Promise leaks window on fusion.net [MemShrink:P2] triage-deferred P3 NEW
1364559 Consider extending SharedImmutableStringsCache to work between processes [MemShrink:P2][overhead:500k] triage-deferred P3 NEW
1367471 De-duplicate strings or other constant & common data during compaction [MemShrink:P2] triage-deferred P3 NEW
1407691 Run away memory use sending ArrayBuffers to workers [MemShrink:P3] P2 NEW
1421966 Investigate triggering compaction if the proportion of unused GC things gets too high [MemShrink:P2] P3 NEW
1433580 High JavaScript memory usage related to google safeframe {MemShrink:P2] P3 REOPENED
1438844 High amount of VSS and heap-unclassified in WASM unity demo [MemShrink:P3] P3 UNCONFIRMED
1448548 Major deferred cleanup of (garbage?) strings related to tab focus [MemShrink:P2] memory-leak P5 NEW
1451517 Really high CPU and memory usage on zerohedge.com due to ads [MemShrink:P3][qf:p3] P3 NEW
1452077 Doing repeated bing.com image/video searches in the same tab causes memory usage to grow over twice as fast as Chrome [MemShrink:P2] memory-footprint, perf P3 NEW
1454593 getImageData consuming huge memory when calling from requestAnimationFrame [MemShrink:P3] P3 UNCONFIRMED
1469278 Memory reporting: Firefox using 45GB VSS on protonmail site [MemShrink:P2] memory-footprint P3 NEW
1472062 [meta] OOM while evicting the nursery [MemShrink:P2][tbird crash] crash, meta, top50, topcrash P3 NEW
1482037 Excessive memory use, memory leak, crash [MemShrink:P2] -- UNCONFIRMED
1484903 Investigate doing a last ditch full GC if we hit OOM when evicting the nursery [MemShrink:P2] P5 NEW
1485078 Gigabytes of script-sources memory on datascience.com [fxperf:-][MemShrink:P2] P2 NEW
1495355 Add explicit GC tuning modes (low memory, tab in background, etc) [MemShrink:P2] P2 ASSIGNED Paul Bone [:pbone]
1504623 Callbacks cause excessive webextension process memory growth [MemShrink:P2] memory-footprint P3 NEW
1520471 The GC isn't told about LifoAlloc allocations [MemShrink:P2] P3 NEW
1525623 Firefox crashes during long-run automated test of a web application [MemShrink:P3] memory-leak, parity-chrome P5 UNCONFIRMED
1533449 [meta] Firefox memory use grows unreasonably high in some cases [MemShrink:meta] meta P3 NEW
1537652 Investigate more selective compacting GC. [MemShrink:P2][qf:js:investigate] P3 NEW
1540101 JS memory is not garbage collected after using Promise.all() [MemShrink:P1] P3 NEW
1540986 Dead zones are not automatically collected [MemShrink:P2] P3 NEW
1566721 Allocate GC chunks from jemalloc [MemShrink:P2] memory-footprint P5 NEW
1577985 Huge memory usage while playing video with FF 70.0a1 (2019-08-30) (64-bit) on Linux [MemShrink:P2] P5 UNCONFIRMED
1610228 [Nightly] refreshing facebook tab seems to continuously increase memory usage for that tab [memshrink] memory-footprint, regression P3 NEW
1614880 Weather Underground page rapidly uses a lot of JS memory [MemShrink:P1] -- NEW Steve Fink [:sfink] [:s:]
1615988 Very high virtual memory usage in the WebExtensions process on Linux [MemShrink] P3 UNCONFIRMED

68 Total; 68 Open (100%); 0 Resolved (0%); 0 Verified (0%);