Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

fatal error: ineffective mark-compacts near heap limit allocation failed – javascript heap out of memory

export NODE_OPTIONS="--max-old-space-size=5120" # Increases to 5 GB
export NODE_OPTIONS="--max-old-space-size=6144" # Increases to 6 GB
export NODE_OPTIONS="--max-old-space-size=7168" # Increases to 7 GB
export NODE_OPTIONS="--max-old-space-size=8192" # Increases to 8 GB
Source by itsmycode.com #
 
PREVIOUS NEXT
Tagged: #fatal #ineffective #heap #limit #allocation #failed #javascript #heap #memory
ADD COMMENT
Topic
Name
5+8 =