Extracted from Pike v7.8 release 352 at 2012-09-09.
pike.ida.liu.se
[Top]
Debug

Method Debug.memory_usage()


Method memory_usage

mapping(string:int) memory_usage()

Description

Check memory usage.

This function is mostly intended for debugging. It delivers a mapping with information about how many arrays/mappings/strings etc. there are currently allocated and how much memory they use.

Note

Exactly what this function returns is version dependant.

See also

_verify_internals()