Skip to content Skip to sidebar Skip to footer

Run Grunt Task With Node.js Arguments On Windows

I am running into an out of memory error when running grunt babel. It is solved on mac by increasing max-old-space-size. However some of our developers are on windows machines and

Solution 1:

Npm package increase-memory-limit would help.

this module fix heap out of memory when running node binaries.

As mentioned in its official docs

it will append --max-old-space-size=4096 in all node calls inside your node_modules/.bin/* files.

Hope this helps!

Post a Comment for "Run Grunt Task With Node.js Arguments On Windows"