Community Tutorial: Disable UbaSessionServer (UBA)

How to disable UbaSessionServer (UBA) / Как отключить UbaSessionServer (UBA)

https://dev.epicgames.com/community/learning/tutorials/9dv9/unreal-engine-disable-ubasessionserver-uba

2 Likes

@RootTool Hello, would you please tell me the benefit of disabling UBA? Recently i updated my engine version to 5.5. Then i found that the console panel suddenly outputs much more log when i build my project. As the 5.5 release document says, UBA helps to build C++ project. So im confusing wheather enable UBA or not. Are there some obvious bugs with UBA? Or it in fact will slow the speed of building? Thank a lot :partying_face:

2 Likes

Hello! When switching from 5.4 to 5.5, I noticed that when compiling code via “Hot Reload”, spam starts in the console with a message like “Bro, I need more RAM for compilation!” (And this spam continued forever, and I have 8 GB of RAM…)

Therefore, I had to adjust the configuration to return the code compilation in Unreal Engine like 5.4 :smiley:

Thank you so much for this! This solved an issue for me where I couldn’t compile any c++ code on 5.5.1. I posted about it over here

1 Like

The Community Tutorial: Disable UbaSessionServer (UBA) provides step-by-step guidance on disabling the UBA Session Server for specific system configurations. This process is essential for optimizing system performance or addressing troubleshooting needs. The tutorial ensures clarity, offering detailed instructions to help users safely modify settings without affecting core functionalities. It highlights best practices to prevent errors and maintain system stability. If you’re managing UBA services and require customization, this tutorial is a valuable resource for effective configuration and management.

1 Like

The Storage capacity can be adjusted.

/// <summary>
		/// The amount of gigabytes UBA is allowed to use to store workset and cached data. It is a good idea to have this >10gb
		/// </summary>
		[XmlConfigFile(Category = "UnrealBuildAccelerator")]
		[CommandLine("-UBAStoreCapacityGb")]
		public int StoreCapacityGb { get; set; } = 40;

So go to your BuildConfigurationXML and add this under the root:

<UnrealBuildAccelerator>
		<StoreCapacityGb>64</StoreCapacityGb>
	</UnrealBuildAccelerator>
1 Like