how to increase nodejs default memory? June 12, 2023 by Tarik node --max-old-space-size=8192 some-script.js Where SomeScript is the file name that you want to execute using node.