FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
I was recently working on my new project and thought I will throw material design icons into the mix. I’m using jspm so I just issued:
1 | jspm install material-design-icons |
Unfortunately the result was not what I expected:
1 | [kyrisu@chronos top_secret_project]$ jspm install material-design-icons |
Most likely the out of memory exception is caused by the size of the package jspm is trying to download. (Good job Sherlock!)
Maximum node memory limit is set at 1024MB on 32bit systems and 1.74GB (source) on 64bit systems. For some reason downloading material design icons is hitting this limit so let’s try to make it bigger:
1 | [kyrisu@chronos top_secret_project]$ node --max-old-space-size=2048 /usr/bin/jspm install material-design-icons |
Eureka! :) Now that we have this problem out of the way.. let’s go back to coding…
Comments