In my UE5.1 version when i tried to do a cooking for iOS, it started a infinite loop and doesn’t do anything else, no crashes or error, just compiling even for 24+ hours. I posted a screenshoot of a part of the loop.
Somewhere in the log it should also show how much memory it actually has available. If you set MemoryMinFreePhysical and MemoryMinFreeVirtual in your BaseEngine.ini (/Users/Shared/Epic Games/UE_5.1/Config/) to just under that amount (I had to go all the way down the 768), it will complete successfully.
I’m seeing the same problem as described here. I can’t seem to get the setting properly enabled. Can you share your .ini config lines so that the rest of us can learn how to master this dark art?
I still have this problem , but I can’t find those two things to set on any of the files… how the heck did you find those lines? or how do I fix this now?
It solves that memory error, but I can’t manage to finish the packaging build, because after half an hour it stucks
Update: For Android for me it works only selecting ASTC. If you still have the memory problem you can try to close all the other apps in backgrounds that are using a lot of RAM
Open BaseEditor.ini
/Users/Shared/Epic Games/UE_5.1/Engine/Config/BaseEditor.ini
Section
[CookSettings]
MemoryMinFreePhysical=2048
MemoryMinFreeVirtual=2048
Open project logs and find
CookSettings.MemoryMinFreeVirtual: Available virtual memory XMiB less than XMiB
CookSettings.MemoryMinFreePhysical: Available physical memory XMiB less than XMiB
Set correct values for
BaseEditor.ini
[CookSettings]
MemoryMinFreePhysical
MemoryMinFreeVirtual
I had to go as low as 512 Mib, even though my Mac M1 has 16 GB total memory and, at least according to the activity monitor, 4 GB are still free, even while the cooking runs into the loop error.