Go to: Synopsis. Return value. Flags. Python examples.
memory([freeMemory=boolean], [heapMemory=boolean], [kiloByte=boolean], [megaByte=boolean], [pageFaults=boolean], [pageReclaims=boolean], [physicalMemory=boolean], [summary=boolean], [swapFree=boolean], [swapLogical=boolean], [swapMax=boolean], [swapPhysical=boolean], [swapVirtual=boolean], [swaps=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
memory is undoable, NOT queryable, and NOT editable.
Used to query essential statistics on memory availability and usageNone
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
megaByte(mb)
|
boolean
|
![]() |
||
|
||||
kiloByte(kb)
|
boolean
|
![]() |
||
|
||||
heapMemory(he)
|
boolean
|
![]() |
||
|
||||
freeMemory(fr)
|
boolean
|
![]() |
||
|
||||
physicalMemory(phy)
|
boolean
|
![]() |
||
|
||||
pageFaults(pf)
|
boolean
|
![]() |
||
|
||||
pageReclaims(pr)
|
boolean
|
![]() |
||
|
||||
summary(sum)
|
boolean
|
![]() |
||
|
||||
swaps(sw)
|
boolean
|
![]() |
||
|
||||
swapFree(swf)
|
boolean
|
![]() |
||
|
||||
swapMax(swm)
|
boolean
|
![]() |
||
|
||||
swapVirtual(swv)
|
boolean
|
![]() |
||
|
||||
swapPhysical(swp)
|
boolean
|
![]() |
||
|
||||
swapLogical(swl)
|
boolean
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
import maya.cmds as cmds cmds.memory(fr=True)