Wednesday, 24 May 2017

rollup JS out of memory

I am running rollup for AOT on windows.

node_modules/.bin/rollup -c rollup-config.js

I get the following error:

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed heap out of memory

trying to set memory using node --max-old-space-size=4096 node_modules/.bin/rollup -c rollup-config.js

throws an error: basedir=$(dirname ..."missing ) after arg list.." so it looks like I can't run both commands together. Is there a way to set memory globally?



via Yuvals

No comments:

Post a Comment