-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
generate.py: fix build on 32 bit system #36942
base: master
Are you sure you want to change the base?
Conversation
setting max-old-space-size to more than 4GB cause node to fail instantly on 32 bit systems, even to run zap-cli --version.
PR #36942: Size comparison from 2249628 to 290a8f5 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving without a ###Testing
section for now as the change seems somewhat obvious. However for the future @symphorien please make sure to include a ### Testing
section to describe how changes were tested (if they do not contain obvious unit/integration tests)
I tested that by building the NixOS packaging of https://github.com/home-assistant-libs/chip-wheels/ for armv7 native. |
setting max-old-space-size to more than 4GB causes node to fail instantly on 32 bit systems, even to run zap-cli --version.
Fixes: build fails with
fatal javascript OOM in GC during deserialization
when building on armv7 (a 32 bit system)