Return the total RAM available on the current system, if detectable.
Declared in <common/system.h>
<common/system.h>
std::optional<uint64_t> TryGetTotalRam();
The total RAM in bytes, or std::nullopt if it cannot be detected.