Function

memory_get_usage

Synopsis

memory_get_usage(bool ...): int

Area
Runtime\PS\Internals\memory_get_usageareas

Description

memory_get_usage reports the live memory estimate of the running script in bytes; it accepts $real_usage and ignores it, as the walk-based estimate has no allocator/used distinction.

Usage

$value = memory_get_usage($arguments);
$fn = memory_get_usage(...);

See also