Angular 2 Aot Error: FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

前端 未结 2 1834
忘了有多久
忘了有多久 2021-01-21 06:07

While Running Angular 2 AOT rollup I have faced above issue

<--- Last few GCs --->

  144518 ms: Mark-sweep 1317.0 (1404.4) -> 1317.0 (1404.4) MB, 1522         


        
2条回答
  •  一整个雨季
    2021-01-21 07:07

    Add = between the option and its value :

    node --max_old_space_size=4096   
    

    NOT

    node --max_old_space_size 4096 
    

提交回复
热议问题