pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]
Debug

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()

Module reference for Pike v7.8 release 116, 2008-12-31