JavaScript heap out of memory #93
-
Can't run "npm run dev" with .purgeCss({ enabled: true }) (if I put false it works perfectly) I was using an older version of laravel-mix-purgecss (0.1.2 I guess) and older version of laravel-mix and postCCS etc, the problem happened back then too. I update all packages to last version, so now I'm using: My project uses laravel + vue. This is the error, any idea why (Not sure if the problem is from this plugin)? `16% building 0/1 entries 3135/3138 dependencies 600/2139 modules [4105:0x63c4ff0] 341632 ms: Mark-sweep 5071.2 (5160.3) -> 5060.0 (5162.6) MB, 629.5 / 0.0 ms (average mu = 0.460, current mu = 0.176) task scavenge might not succeed <--- JS stacktrace ---> FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I was using 6Gb, I've given the docker 8Gb and put node with 8gb aswell, and now it worked. We can close this. |
Beta Was this translation helpful? Give feedback.
I was using 6Gb, I've given the docker 8Gb and put node with 8gb aswell, and now it worked. We can close this.