Getting the memory usage that your script is using

Values are in bytes

memory_get_usage()231624
memory_get_usage(true)262144
memory_get_peak_usage()236160
memory_get_peak_usage(true)262144
ini_get('memory_limit')256M

[Home]