Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php memory usage view

PHP has it's own memory testing functions, I don't know if that's any use to you, but if you just want to log it you could use: http://php.net/manual/en/function.memory-get-peak-usage.php

    echo "Using ", memory_get_peak_usage(1), " bytes of ram.";
 
PREVIOUS NEXT
Tagged: #php #memory #usage #view
ADD COMMENT
Topic
Name
7+3 =