Skip to content
Not available in DartThis function is not part of the Dart package. The documentation below is for JavaScript and Python.

getRamSize

Requires a Node.js runtime ('qsu/node')

Retrieves the total RAM size of the current device. Returns it as readable text including the unit. Decimal places are rounded up.

Parameters

No required parameters

Returns

string

str

Examples

javascript
console.log(getRamSize()); // Returns '8 GB'
python
print(getRamSize())  # Returns '8 GB'

Released under the MIT License