I am trying to build my angular-cli project with AOT
ng build --aot
but it failes with error
"FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory"
The same thing happens if I build with the --prod
flag.
Any idea?