V8 running out of memory when building Nuxt

Hi! Running a quite large app on a 8Gb ram VPS, my CI/CD pipelines started to fail earlier this day for no reason. Looking at the free space of the VPS, there is ~3.5Gb free memory when running the pipeline and I modified the node option max-old-space-size to 3000.
top - 09:19:24 up 2:15, 1 user, load average: 0.10, 0.17, 0.34
Tasks: 174 total, 1 running, 173 sleeping, 0 stopped, 0 zombie
%Cpu(s): 3.1 us, 0.6 sy, 0.0 ni, 95.8 id, 0.0 wa, 0.0 hi, 0.1 si, 0.5 st
MiB Mem : 7940.7 total, 2707.5 free, 3535.3 used, 2079.9 buff/cache
MiB Swap: 0.0 total, 0.0 free, 0.0 used. 4405.5 avail Mem
top - 09:19:24 up 2:15, 1 user, load average: 0.10, 0.17, 0.34
Tasks: 174 total, 1 running, 173 sleeping, 0 stopped, 0 zombie
%Cpu(s): 3.1 us, 0.6 sy, 0.0 ni, 95.8 id, 0.0 wa, 0.0 hi, 0.1 si, 0.5 st
MiB Mem : 7940.7 total, 2707.5 free, 3535.3 used, 2079.9 buff/cache
MiB Swap: 0.0 total, 0.0 free, 0.0 used. 4405.5 avail Mem
I have absolutely no idea why this is happening so suddenly, does anyone have any clue that I may explore?
0 Replies
No replies yetBe the first to reply to this messageJoin