I can't deploy: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed
I get a nasty error and can't deploy. I don't know what to do:
00:37:15.245 Executing user command: pnpm run build
00:37:15.894
00:37:15.895 > [email protected] build /opt/buildhome/repo/apps/fika-client 00:37:15.895 > tsc && vite build 00:37:15.895
00:40:30.956
00:40:30.956 <--- Last few GCs ---> 00:40:30.956
00:40:30.957 [1119:0x573c400] 191072 ms: Mark-sweep 4040.3 (4130.9) -> 4024.8 (4131.4) MB, 1975.2 / 0.0 ms (average mu = 0.097, current mu = 0.005) allocation failure; scavenge might not succeed 00:40:30.957 [1119:0x573c400] 193111 ms: Mark-sweep 4040.8 (4131.4) -> 4025.3 (4131.9) MB, 2025.1 / 0.0 ms (average mu = 0.053, current mu = 0.007) allocation failure; scavenge might not succeed 00:40:30.957
00:40:30.957
00:40:30.957 <--- JS stacktrace ---> 00:40:30.957
00:40:30.957 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 00:40:30.957 1: 0xb83f50 node::Abort() [node] 00:40:30.957 2: 0xa94834 [node] 00:40:30.957 3: 0xd647c0 v8::Utils::ReportOOMFailure(v8::internal::Isolate, char const, bool) [node]
00:37:15.895 > [email protected] build /opt/buildhome/repo/apps/fika-client 00:37:15.895 > tsc && vite build 00:37:15.895
00:40:30.956
00:40:30.956 <--- Last few GCs ---> 00:40:30.956
00:40:30.957 [1119:0x573c400] 191072 ms: Mark-sweep 4040.3 (4130.9) -> 4024.8 (4131.4) MB, 1975.2 / 0.0 ms (average mu = 0.097, current mu = 0.005) allocation failure; scavenge might not succeed 00:40:30.957 [1119:0x573c400] 193111 ms: Mark-sweep 4040.8 (4131.4) -> 4025.3 (4131.9) MB, 2025.1 / 0.0 ms (average mu = 0.053, current mu = 0.007) allocation failure; scavenge might not succeed 00:40:30.957
00:40:30.957
00:40:30.957 <--- JS stacktrace ---> 00:40:30.957
00:40:30.957 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 00:40:30.957 1: 0xb83f50 node::Abort() [node] 00:40:30.957 2: 0xa94834 [node] 00:40:30.957 3: 0xd647c0 v8::Utils::ReportOOMFailure(v8::internal::Isolate, char const, bool) [node]
0 Replies