get_ram


Description:

public int64 get_ram ()

Retrieves the amount of Random Access Memory (RAM) in bytes.

Divide the value by MEBIBYTES if you need this value in mebibytes.

Parameters:

this

an Resources instance

Returns:

the amount of RAM, or -1.




2022 vala-language.org