Node.js accompanies an assortment of CLI choices. These choices uncover worked in investigating, different ways of executing scripts, and other accommodating runtime choices.
To see this documentation as a manual page in a terminal, run ‘man hub’. Read more
jobs: build: name: Build www.webmanajemen.com runs-on: ubuntu-latest env: NODE_OPTIONS: "--experimental-vm-modules --max_old_space_size=8192"
The recommended amounts for a “low memory device”.
for 32-bit and/or Android are:
node --max-executable-size=96 --max-old-space-size=128 --max-semi-space-size=1 app.js
for 64-bit non-android are:
node --max-executable-size=192 --max-old-space-size=256 --max-semi-space-size=2 app.js
--max-old-space-sizethe maximum size of heap reserved for long term objects
--max-semi-space-sizethe maximum size of heap reserved for short term objects