Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory fork-ts-checker-webpack-plugin

//This is a temporary solution, this is caused by old version of CRA, cleaning up your bundle and trying your best to move to CRA5 will be the best solution

"start": "react-scripts --max_old_space_size=4096 start",
 "build": "react-scripts --max_old_space_size=4096 build",
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #FATAL #Ineffective #heap #limit #Allocation #failed #JavaScript #heap #memory
ADD COMMENT
Topic
Name
6+4 =