> For the complete documentation index, see [llms.txt](https://sysinfo.onepub.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sysinfo.onepub.dev/reference/sysinfo/gettotalvirtualmemory.md).

# 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:

```dart
import "package:system_info2/system_info2.dart";

print("Processors         : ${SysInfo.getTotalVirtualMemory()}");
```
