goalie.has_ram¶
- goalie.has_ram(n: float) bool¶
Check whether the machine has at least n GB of RAM.
- Parameters:
n (float) – Minimum RAM in gigabytes required.
- Returns:
Trueif the machine has at leastnGB of RAM.- Return type:
- Raises:
RuntimeError – If the available RAM cannot be determined.
Examples
>>> has_ram(1) True