Skip to content

set max gc heap size to maximum available - #422

Merged
philippedistributive merged 1 commit into
mainfrom
philippe/420-fix
Aug 29, 2024
Merged

set max gc heap size to maximum available#422
philippedistributive merged 1 commit into
mainfrom
philippe/420-fix

Conversation

@philippedistributive

@philippedistributive philippedistributive commented Aug 28, 2024

Copy link
Copy Markdown
Contributor

Set GC max heap size to maximum available to avoid OOM errors

This is done routinely in Spidermonkey (see for example https://searchfox.org/mozilla-central/rev/e968519d806b140c402c3b3932cd5f6cd7cc42ac/js/src/shell/js.cpp#13452)

See also https://discourse.mozilla.org/t/how-does-spidermonkey-deal-with-memory-limitations/123670/2

closes #420

@philippedistributive philippedistributive changed the title set max gc heap size to maximum Aug 28, 2024
@philippedistributive
philippedistributive merged commit 5a91430 into main Aug 29, 2024
@philippedistributive
philippedistributive deleted the philippe/420-fix branch August 29, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants