System Info
  • Welcome!
  • Installing
  • Quick Start
  • Reference
    • SysInfo
      • kernelArchitecture
      • kernelBitness
      • kernelName
      • kernelVersion
      • operatingSystemName
      • operatingSystemVersion
      • userDirectory
      • userId
      • userName
      • userSpaceBitness
      • cores
      • getTotalPhysicalMemory
      • getFreePhysicalMemory
      • getTotalVirtualMemory
      • getFreeVirtualMemory
      • getVirtualMemorySize
Powered by GitBook
On this page

Was this helpful?

  1. Reference
  2. SysInfo

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()}");
PreviousgetFreePhysicalMemoryNextgetFreeVirtualMemory

Last updated 3 years ago

Was this helpful?