This package is designed to set the NODE_OPTIONS for memory limit configuration on Linux/Unix based systems, aiding deployment on low memory machines and preventing heap overflow issues in JavaScript and TypeScript programs.Stay Updated for future versions
To install the package globally, execute the following command:
npm i -g set-memory
For a specific limit/custom limit
set-memory <Number>
For auto memory allocation as per guidelines with some space for swapping
set-memory-auto