how to allocate more memory to npm code example
Example 1: increase node heap size
export NODE_OPTIONS=--max_old_space_size=4096
Example 2: increase-memory-limit not working node
NODE_OPTIONS=--max_old_space_size=4096
export NODE_OPTIONS=--max_old_space_size=4096
NODE_OPTIONS=--max_old_space_size=4096