xo-web build from source, FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed
-
Hi
I am trying to build Xen-Orchestra from source using instruction: https://xen-orchestra.com/docs/installation.html#from-the-sources
System: Debian 11
node: v16.20.0
yarn: 1.22.19
I have not idea what to do. Maybe I should try with node version v16.14.0? As instruction shows. -
Hi,
Please read more carefully the instructions. What does it say in bold?
You are not using the right Node version
-
@olivierlambert Oops. Sorry for such obvious mistake. I completely missed this sentence.
-
No worries, it happens Just keep us posted if it works now, and enjoy XO!
-
-
-
@olivierlambert
Today I had time to test it. I downloaded node v18.16.0 and problem is still present. I also tested it with version 20.2.0 and the same.
-
How much memory do you have assigned to the XO VM? FWIW, I'm able to build the latest sources without issue on my Ubuntu VM with 4GB of memory (it's been a while since I tried with less).
-
@Danp Thanks RAM was problem. There was only 1.5GB, which was default value with XCP-ng center. Now it compiled successfully with 4GB.