Set NODE_OPTIONS=--max_old_space_size=1024 for builds (#9731)
This reduces the footprint of each Node process in an attempt to try and lower the failure rate. > Expected behavior with –max-old-space-size within container constraints > > By default, Node.js (up to 11.x) uses a maximum heap size of 700MB and 1400MB > on 32-bit and 64-bit platforms, respectively. For current defaults, see the > reference mentioned at the end of blog. [1]:https://developer.ibm.com/languages/node-js/articles/nodejs-memory-management-in-container-environments/feature/default_network_editable
parent
d1b4d29219
commit
5e5d9e6c0a
Loading…
Reference in new issue