skus to zmenit na:echo memory_get_usage(true) . "\n";vid dokumentaciu:http://php.net/manual/en/function.memory-get-usage .php