Open
Bug 1509318
Opened 7 years ago
Updated 3 years ago
Consider relaxing 4GB GC heap limit
Categories
(Core :: JavaScript: GC, enhancement, P3)
Tracking
()
NEW
People
(Reporter: jonco, Unassigned)
References
Details
Currently the GC heap is limited to 4GiB because the max bytes parameter is always passed in as a uint32_t (even though it's stored as a size_t internally).
Various comments in the browser suggest that passing 0xffffffff makes this unlimited, but this is not the case:
https://searchfox.org/mozilla-central/rev/8f89901f2d69d9783f946a7458a6d7ee70635a94/js/xpconnect/src/XPCJSRuntime.cpp#3058-3064
We should probably relax this limitation since people seem to be using hardware with enough RAM to hit this.
Maybe we should make the parameter specify KiB instead of bytes, or maybe treat 0xffffffff as a special case and make it mean unlimited.
Reporter | ||
Updated•7 years ago
|
Priority: -- → P5
Updated•6 years ago
|
Priority: P5 → P3
Comment 1•6 years ago
|
||
See Bug 1488480 Comment 16 for some details.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•