Closed levchak0910 closed 1 year ago
@mutoe have encountered this?
I haven't encountered it. Does it seem to be a problem with Vite?
This is a similar discussion here https://github.com/vitejs/vite/discussions/2413
@levchak0910 Both of you are on Windows machines. It’s time to file an issue with Vite ✌️
Upstream issues, close this issue in this repository. Refer https://github.com/vitejs/vite/issues/2433
Running our application locally results in an error: JavaScript heap out of memory This happens when vite optimizing dependencies. It takes approximately 3.5Gb of memory
If you also encounter this problem, try to increase the node memory limit (if you have that amount) using the command
Log
<--- Last few GCs ---> [5904:00000000003CE030] 33601 ms: Mark-sweep 2050.1 (2052.7) -> 2050.0 (2053.2) MB, 42.6 / 0.0 ms (average mu = 0.183, current mu = 0.001) allocation failure scavenge might not succeed <--- JS stacktrace ---> ==== JS stack trace ========================================= 0: ExitFrame [pc: 000000014087978D] 1: StubFrame [pc: 0000000140859BC9] Security context: 0x01a595e808d1