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

    From the sources build now requires >2GB ram

    Scheduled Pinned Locked Moved Xen Orchestra
    4 Posts 4 Posters 599 Views 1 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.
    • A Offline
      arvid
      last edited by

      When I updated xen orchestra from the sources today, my 2 GB of ram wasn't enough. The yarn build step crashed with a "FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory".

      I had to increase memory to 4 GB to get it to successfully build.

      Not a bug of course, but xen orchestra itself runs fine with just 2 GB. Is there some switch for the build script that can limit the amount of memory it uses?

      B mkrumbholzM 2 Replies Last reply Reply Quote 0
      • B Offline
        Biggen @arvid
        last edited by

        @arvid I think I built it with 3GB last time I tried. I don’t think you can build it with less anymore.

        1 Reply Last reply Reply Quote 0
        • mkrumbholzM Offline
          mkrumbholz @arvid
          last edited by

          @arvid To get a successfull build you need 4GB of ram.
          But you could use a pre-build docker container, that would use less memory.

          1 Reply Last reply Reply Quote 0
          • M Offline
            Mr.Sparkle
            last edited by

            I also encountered this problem.
            If you are using Debian you can use pre-packaged XO from sources https://github.com/mathiswolff/xen-orchestra

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