In the existing code, it is clear that the intention is to set the SvcHostSplitThresholdInKB threshold to a value larger than the installed memory so that svchost.exe instances are combined. Since the registry key is a threshold, the value can be set to the maximum DWORD value (0xFFFFFFFF/4294967295) to achieve the same outcome. No calculations required.
In the existing code, it is clear that the intention is to set the
SvcHostSplitThresholdInKB
threshold to a value larger than the installed memory so thatsvchost.exe
instances are combined. Since the registry key is a threshold, the value can be set to the maximum DWORD value (0xFFFFFFFF/4294967295) to achieve the same outcome. No calculations required.