Increase memory allocated to JS Runtime in Dehydra

RESOLVED FIXED

Status

()

Core
Rewriting and Analysis
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: mccr8, Assigned: mccr8)

Tracking

Other Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
With the default amount of memory, Dehydra frequently runs out of memory when compiling Firefox source code.  With this increase, I was able to compile the JS directory and a few others without problem.
(Assignee)

Comment 1

6 years ago
Created attachment 538389 [details] [diff] [review]
increase mem allocated to JS runtime by almost 20 times

Something a little less might work, too, but I think I was having problems even at quadruple the original memory.
Attachment #538389 - Flags: review?(tglek)
(Assignee)

Updated

6 years ago
Assignee: nobody → continuation

Updated

6 years ago
Attachment #538389 - Flags: review?(tglek) → review+
(Assignee)

Comment 2

6 years ago
js/src/jsopcodes.cpp was the main offender, though at the default setting there was flakiness on other files.  I went back and tried slightly more fine-grained settings, and it was running out of memory for me at 0x256L, but 0x384L was okay.
(Assignee)

Comment 3

6 years ago
512 also works for me, FYI, which is what jcranmer pushed
http://hg.mozilla.org/rewriting-and-analysis/dehydra/rev/ef77d62c0dbd
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.