Used to query essential statistics on memory availability and usage
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
debug (dbg) | bool | ||
freeMemory (fr) | bool | ||
|
|||
heapMemory (he) | bool | ||
|
|||
kiloByte (kb) | bool | ||
|
|||
megaByte (mb) | bool | ||
|
|||
pageFaults (pf) | bool | ||
|
|||
pageReclaims (pr) | bool | ||
|
|||
physicalMemory (phy) | bool | ||
|
|||
summary (sum) | bool | ||
|
|||
swapFree (swf) | bool | ||
|
|||
swapLogical (swl) | bool | ||
|
|||
swapMax (swm) | bool | ||
|
|||
swapPhysical (swp) | bool | ||
|
|||
swapReserved (swr) | bool | ||
swapVirtual (swv) | bool | ||
|
|||
swaps (sw) | bool | ||
|
Derived from mel command maya.cmds.memory
Example:
import pymel.core as pm
pm.memory(fr=True)
# Result: [0.0] #