Property: ProcessMaxVirtualSize for SystemInfo
- Updated2024-09-12
- 2 minute(s) read
Properties > Property: ProcessMaxVirtualSize for SystemInfo
Property: ProcessMaxVirtualSize for SystemInfo
Returns the maximum amount of address space for the process, in kB.
Object.ProcessMaxVirtualSize
Object | SystemInfo Object with this property |
Object.ProcessMaxVirtualSize | LongInteger with read access |
The following example returns information on your system:
VBScript | Python |
Dim sOutput sOutput = "No. of CPUs: " & VBTab & CStr(SystemInfo.CPUCount) & VBCrLf sOutput = sOutput & "Total physical memory: " & VBTab & CStr(SystemInfo.PhysicalMemoryTotal) & VBCrLf sOutput = sOutput & "Available physical memory: " & VBTab & CStr(SystemInfo.PhysicalMemoryAvailable) & VBCrLf &VBCrLf sOutput = sOutput & "Total commit size: " & VBTab & CStr(SystemInfo.SystemCommitLimit) & VBCrLf sOutput = sOutput & "Total used commit size: " & VBTab & CStr(SystemInfo.SystemCommitTotal) & VBCrLf sOutput = sOutput & "Process information: " & VBCrLf sOutput = sOutput & "Used physical memory: " & VBTab & CStr(SystemInfo.ProcessMemoryUsage) & VBCrLf sOutput = sOutput & "Maximum virtual size: " & VBTab & CStr(SystemInfo.ProcessMaxVirtualSize) & VBCrLf sOutput = sOutput & "Virtual size: " & VBTab & CStr(SystemInfo.ProcessVirtualSize) & VBCrLf sOutput = sOutput & "Commit size used by process " & VBTab & CStr(SystemInfo.ProcessCommitSize) & VBCrLf sOutput = sOutput & "No. of GDI objects: " & VBTab & CStr(SystemInfo.ProcessGDIObjects) & VBCrLf sOutput = sOutput & "No. of handles: " & VBTab & CStr(SystemInfo.ProcessHandleCount) & VBCrLf Call Msgbox(sOutput)