System Info
Search
⌃K

getTotalPhysicalMemory

getTotalPhysicalMemory

Returns the total physical RAM available to the operating system in bytes.

Example:

import "package:system_info2/system_info2.dart";
print("Processors : ${SysInfo.getTotalPhysicalMemory()}");