Skip to content

A npm package to set the node environment for max space for the node processes to take at the root level to help with deployment for lower end machines

Notifications You must be signed in to change notification settings

Magmastorm3007/set-memory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Package: set-memory

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

Installation

To install the package globally, execute the following command:

npm i -g set-memory

Running the commands

For a specific limit/custom limit

set-memory <Number>

For auto memory allocation as per guidelines with some space for swapping

set-memory-auto

About

A npm package to set the node environment for max space for the node processes to take at the root level to help with deployment for lower end machines

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published