Could someone help me build a better memory output for a php script? I would like to figure out what varibles are holding the most memory and might be a strain on my site when 100+ users are on the site at a time. I have been using the following foreach (array_keys($GLOBALS) as $key) { echo "$key=" . strlen(serialize($GLOBALS[$key])); } PHP: Also, does $_SESSION, $_GET, $_POST, $_SERVER, $_REQUEST all take up chuncks of memory or are they shared with the other arrays? .