OOM running hazard analysis on local desktop
Categories
(Core :: JavaScript: GC, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox85 | --- | fixed |
People
(Reporter: sfink, Assigned: sfink)
Details
Attachments
(2 files)
I have been having trouble running the hazard analysis locally because at some point while compiling the tree and gathering info, it OOMs my computer. Which isn't pleasant.
Assignee | ||
Comment 1•4 years ago
|
||
It always OOMs the xsource
binary, which is collecting all source code, both before and after preprocessing, into a giant database. Which is never used. (Well, I think it might get used in one place to look at the path to jsapi.h
, purely to determine how many leading components to strip from the paths.)
I added an option to skip the source gathering, which enabled the hazard analysis to run locally on my machine again.
I don't actually know if I introduced a memory leak bug somewhere, or if this is just a matter of some unified source file becoming insanely large. But it would be better to stop copying around the gigabytes of data uselessly anyway.
Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/adb56bd07946 Do not collect source code during automated hazard analysis. r=jonco
Comment 5•4 years ago
|
||
bugherder |
Description
•