[FETURE REQUEST] UBT should take max available memory in account

Hello everyone,

This is just an idea to optimize a little bit the UBT. When the UBT count the number of core (physical) of the computer, before it launch parallel jobs, I think it could be useful to set a parameter like “max memory per worker”, to avoid heavy swaping on some lowspec configuration.

I have a pretty good config, but not enough memory (only 4GB). And even if I plan to change to 12GB soon, UBT stall my computer if I use it at full power (with 4 parallel jobs). Because I don’t have enough memory, my computer start to swap. And it take a huge time to compile anything.

Of course, I found the ComputerCore float, that I changed to 0.5, to only have 2 parallel jobs, and it work great. But it could really be more useful if UBT could do that himself. Especially considering that UE4 is available to a wide range of people, and thus, of configurations.

Thanks !