Skip to content

Conversation

philippedistributive
Copy link
Collaborator

@philippedistributive philippedistributive commented Aug 28, 2024

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 set max gc heap size to maximum available Aug 28, 2024
@philippedistributive philippedistributive merged commit 5a91430 into main Aug 29, 2024
34 checks passed
@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Out of Memory Errors
2 participants