[#TryGetTotalRam]
= TryGetTotalRam
:mrdocs:

Return the total RAM available on the current system, if detectable&period;

== Synopsis

Declared in `&lt;common&sol;system&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;uint64&lowbar;t&gt;
TryGetTotalRam();
----

== Return Value

The total RAM in bytes, or std&colon;&colon;nullopt if it cannot be detected&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
