When I run my vue app using npm run serve
it says
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
I tried to follow instruction on increasing node_options
space to 4096
,
I tried to do the following:
1. Control panel
> System
> Advanced System Settings
> Environment Variables
2. Under user variables for <user>
> NODE_OPTIONS = --max-old-space-size=8192
#I doubled 4096 since error still persist for 4096
But I still got the same error. Any idea on how I resolve this?