heap memory in node js code example
Example 1: javascript heap out of memory
export NODE_OPTIONS=--max_old_space_size=4096
Example 2: javascript heap out of memory
variable name = NODE_OPTIONS
variable value = --max-old-space-size=4096
export NODE_OPTIONS=--max_old_space_size=4096
variable name = NODE_OPTIONS
variable value = --max-old-space-size=4096