pymel.core.system.memory

memory(*args, **kwargs)

Used to query essential statistics on memory availability and usage

Flags:
Long name (short name) Argument Types Properties
debug (dbg) bool  
   
freeMemory (fr) bool ../../../_images/create.gif
 
Returns size of free memory
heapMemory (he) bool ../../../_images/create.gif
 
Returns size of memory heap
kiloByte (kb) bool ../../../_images/create.gif
 
Defines the units to use for value displayed, kiloByte 1024
megaByte (mb) bool ../../../_images/create.gif
 
Defines the units to use for value displayed, megaByte 1024*1024
pageFaults (pf) bool ../../../_images/create.gif
 
Returns number of page faults
pageReclaims (pr) bool ../../../_images/create.gif
 
Returns number of page reclaims
physicalMemory (phy) bool ../../../_images/create.gif
 
Returns size of physical memory
summary (sum) bool ../../../_images/create.gif
 
Returns summary of memory usage
swapFree (swf) bool ../../../_images/create.gif
 
Returns size of free swap
swapLogical (swl) bool ../../../_images/create.gif
 
Returns size of logical swap Flag can have multiple arguments, passed either as a tuple or a list.
swapMax (swm) bool ../../../_images/create.gif
 
Returns maximum swap size
swapPhysical (swp) bool ../../../_images/create.gif
 
Returns size of physical swap
swapReserved (swr) bool  
   
swapVirtual (swv) bool ../../../_images/create.gif
 
Returns size of virtual swap
swaps (sw) bool ../../../_images/create.gif
 
Returns number of swaps

Derived from mel command maya.cmds.memory

Example:

import pymel.core as pm

pm.memory(fr=True)
# Result: [0.0] #

Previous topic

pymel.core.system.loadReference

Next topic

pymel.core.system.mouse

Core

Core Modules

Other Modules

This Page