Compiling UE-5 in Linux Causing Existential Memory Problems

Hello everyone!

I’m not sure I’ve ever posted a question on a forum before, so apologies for the no doubt many issues with this post, and please be gentle. This is exciting!

I’m attempting to compile and install ue5-main (not a project, the editor itself) on my Ubuntu Studio 20.04 (LTS) with the following specs:

  • AMD® Ryzen 7 2700x eight-core processor × 16
  • NVIDIA Corporation GP106GL [Quadro P2200]
  • Memory x 15.6GB
  • Storage = 38GB left on the relevant SSD

I’ve been going through the instructions for compiling UE5 on Linux as detailed in this UE Github readme and everything has gone smoothly up to running make in the main folder. So far I’ve made about 4 attempts to compile the editor, and although CrashReportClient, ShaderCompileWorker, UnrealLightmass and UnrealPak compile fine, UnrealEditor has consistently frozen my entire computer during compilation. It’s not happened at the same module twice, with it grinding to a halt most commonly somewhere around the 20/2687 mark, but I’ve watched it go from 20% memory usage to 100% memory usage and 100% of the 2GB swap file usage in about 40 seconds when it does. At this point, even my mouse stops moving and I have to hard reset.

Is this a problem other people have had? If so, would anyone be able to offer guidance beyond “install Windows”? I obviously assume that this is user error, but I haven’t been able to figure out how to get a more verbose log of what’s going on when the thing falls over.

Thank you very much, hope you are all well!

After clearing out all the files and trying again, it suddenly started complaining about a lack of space. I hollowed out another 100GB from the disk and this time it compiled and installed smoothly.

I wonder if there’s a bug somewhere where it’s managing to miss that the disk has run out of space, but other than that I think it’s just a space issue, so no fault found.