Skip to main content

memory_summary

Discworld driver help

memory_summary

Name

memory_summary() - return a summary of memory usage

Syntax

string memory_summary( void );

Description

memory_summary() returns a mapping of the form:

([
program name : ([
var name : mem usage,
...
])
...
])

The memory usage is the memory required to store the value divided by the number of variables pointing to that particular value. (Due to sharing of values, giving an exact number for the memory usage of any value is impossible)

See also

memory_info(), mud_status()