mushroom Posted May 19, 2008 Share Posted May 19, 2008 I am a fairly experienced with php/mysql and have some mission critical scripts I wish to expand but I don't want to risk breaking them by running out of allocated memory . Is there a command in php that will return the amount memory used by a script or one that returns the amount that is still available ??? Link to comment https://forums.phpfreaks.com/topic/106259-memory-used-by-your-php-script/ Share on other sites More sharing options...
mushroom Posted May 19, 2008 Author Share Posted May 19, 2008 I could not find the answer in any of the books that I had but http://ca3.php.net/manual-lookup.php?pattern=memory gave me the answers memory_get_usage() memory_get_peak_usage() Link to comment https://forums.phpfreaks.com/topic/106259-memory-used-by-your-php-script/#findComment-544626 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.