AvailPhys, TotalPhys, AvailPageFile, TotalPageFile, AvailVirtual, TotalVirtual, MemoryLoad Properties (App)

Purpose

Return information about the physical and virtual memory size.

Syntax

App.AvailPhys
App.TotalPhys
App.AvailPageFile
App.TotalPageFile
App.AvailVirtual
App.TotalVirtual
App.MemoryLoad

Return type:Long

Description

AvailPhys Available physical global memory
TotalPhys Total physical global memory
AvailPageFile Available page file size
TotalPageFile Total page file size
AvailVirtual Available virtual memory
TotalVirtual Total available virtual memory
MemoryLoad Percentage of memory used.

Example

Debug.Show

Trace App.AvailPhys

Trace App.TotalPhys

Trace App.AvailPageFile

Trace App.TotalPageFile

Trace App.AvailVirtual

Trace App.TotalVirtual

Trace App.MemoryLoad

Known Issues

Similar to mAlloc(-1) through to mAlloc(-4), AvailPageFile, AvailPhys, TotalPageFile and TotalPhys are currently broken in most versions of Windows after XP SP3. See the mAlloc() page for the workaround.

Remarks

Same results can be obtained from mAlloc().

See Also

App, mAlloc

{Created by Sjouke Hamstra; Last updated: 23/09/2014 by James Gaite}