Use a pInvoke to GlobalMemoryStatusEx instead of ManagementObjectSearcher to determine the total RAM of the computer in SQLiteSettings. ManagementObjectSearcher requires the windows WMI service to be started. This may not be the case when MP2 Server Service starts immediately after a reboot, which may lead to an exception.