ILMV Posted March 18, 2009 Share Posted March 18, 2009 Hello All. I have a very large PHP script, of which somewhere there is a memory leak, causing this: [Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 12 bytes) Is there a function within PHP, to return the amount of memory that I have used at any one time? Many Thanks, ILMV Link to comment https://forums.phpfreaks.com/topic/149954-memory-size-exhausted/ Share on other sites More sharing options...
ILMV Posted March 18, 2009 Author Share Posted March 18, 2009 No worries, I found it memory_get_usage() Link to comment https://forums.phpfreaks.com/topic/149954-memory-size-exhausted/#findComment-787539 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.