XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    xo-web build from source, FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    7 Posts 3 Posters 247 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      tulip
      last edited by

      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

      a3f52e48-ec3f-4660-a786-c991d3b311b2-obraz.png
      I have not idea what to do. Maybe I should try with node version v16.14.0? As instruction shows.

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by olivierlambert

        Hi,

        Please read more carefully the instructions. What does it say in bold?

        c1360ec1-ae60-426e-9e94-c12641ae7997-image.png

        https://nodejs.org/en

        You are not using the right Node version 🙂

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          tulip @olivierlambert
          last edited by

          @olivierlambert Oops. Sorry for such obvious mistake. I completely missed this sentence.

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            No worries, it happens 🙂 Just keep us posted if it works now, and enjoy XO!

            T 1 Reply Last reply Reply Quote 0
            • olivierlambertO olivierlambert marked this topic as a question on
            • olivierlambertO olivierlambert has marked this topic as solved on
            • T Offline
              tulip @olivierlambert
              last edited by tulip

              @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.
              9a80a1e9-eb4b-4ee5-a478-c406f201e324-obraz.png

              1 Reply Last reply Reply Quote 0
              • DanpD Offline
                Danp Pro Support Team
                last edited by

                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).

                T 1 Reply Last reply Reply Quote 0
                • T Offline
                  tulip @Danp
                  last edited by tulip

                  @Danp Thanks RAM was problem. There was only 1.5GB, which was default value with XCP-ng center. Now it compiled successfully with 4GB.
                  28e1c460-9d67-44b4-b018-96d1b9531bc7-obraz.png

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post