8 months ago
I am trying to build and deploy my Rect.Js application on Ubuntu 22.04 LTS (GNU/Linux 5.15.0-69-generic x86_64).
There is 1 GB RAM with 1 Intel CPU.
Problem:
Whenever I try to build now, I am getting below error.
Creating an optimized production build...
<--- Last few GCs --->
[1171:0x5742a10] 73579 ms: Scavenge 469.5 (491.9) -> 466.4 (492.4) MB, 3.3 / 0.0 ms (average mu = 0.191, current mu = 0.049) allocation failure;
[1171:0x5742a10] 73612 ms: Scavenge 469.9 (492.4) -> 466.4 (492.9) MB, 2.4 / 0.0 ms (average mu = 0.191, current mu = 0.049) allocation failure;
[1171:0x5742a10] 74462 ms: Mark-sweep 470.3 (492.9) -> 462.4 (492.9) MB, 828.2 / 0.0 ms (average mu = 0.252, current mu = 0.311) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0xb6b850 node::Abort() [/root/.nvm/versions/node/v18.13.0/bin/node]
2: 0xa806a6 [/root/.nvm/versions/node/v18.13.0/bin/node]
3: 0xd52140 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/root/.nvm/versions/node/v18.13.0/bin/node]
Product Manager at Microsoft Canada
8 months ago