Hi there! There seams to be a memory leak in UE 5.1 or in Xcode currently on MacOS. I had the following issues while testing some example projects from UE5.1.
- when starting the editor with Xcode attached, the editor takes up about 15GB RAM which is constantly growing even without any interaction with the editor. At some point the OS starts to create swap memory on the disc which can grow up to 100GB and then Xcode crashes! The whole editor is really unresponsive (the whole machine is) after the swap memory reaches around 10GB which happens after 5 minutes of usage.
- I also noticed that when I build any project or the unreal engine, I have to restart the build 3-4 times, as the swap memory is also created and grows steadily till 100GB when all crashes again. This one is particularly annoying as the whole dotnet and clang processes won’t be terminated and I have to manually kill all of them otherwise I cannot start a new build…
Any help is highly appreciated, but my gut feeling tells me we need to wait for a fix from either UE or Xcode, but I might be wrong and there’s a hidden setting I need to set?
No problems with any other apps, it just happens with UE5.1 but might be also a Xcode bug