System Info
Search…
⌃K

getTotalVirtualMemory

getTotalVirtualMemory

Returns the total virtual RAM available to the operating system in bytes.
Virtual Memory is reported as the total of the physical memory plus swap space.

Example:

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