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 Quote Link to comment 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() Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.