increase-memory-limit icon indicating copy to clipboard operation
increase-memory-limit copied to clipboard

Verbose mode

Open Johann-S opened this issue 5 years ago • 4 comments

Hi,

Thank you for your node js plugin 👍

Is it possible to add an option to disable the call of console.log ?

Johann-S avatar Feb 04 '19 16:02 Johann-S

Hi @Johann-S, thanks but I don't plan on maintaining this library anymore, using this alternative should work on NodeJS v8+

export NODE_OPTIONS="--max_old_space_size=4096"

Hope this helps!

endel avatar Feb 04 '19 16:02 endel

Yep that's work on Unix systems but not on my Win10 😣

Edit: Finally I found a workaround 😄

Johann-S avatar Feb 04 '19 17:02 Johann-S

do you mind sharing your workaround @Johann-S? Oh, you're the boostrap guy! nice to meet you! hahaha

endel avatar Feb 13 '19 11:02 endel

Nice to meet you too @endel 👍

Yep finally I did what you suggested but with some changes for my Angular project.

I added a new command in the scripts section of my package.json

"ng-high-memory": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng"

And I use this command to build my project like that:

"build": "npm run ng-high-memory -- build",

Johann-S avatar Feb 13 '19 12:02 Johann-S