I’ve got a PHP script that sometimes just dies with no errors to the browser and no messages in the error log. I’ve seen this in the past with scripts that consumed too much memory (yeah, it should have issued an error, but it didn’t, and increasing the memory limit fixed it), but now the memory limit is set pretty high and I’m not sure I want to increase it further. I certainly don’t want to increase it without seeing where it’s going wrong, anyway.
To do that, IBM developerWorks says the memory_get_usage() and memory_get_peak_usage() functions are for me. And they offer some other interesting tips as well.
Posted August 7, 2008 by Casey Bisson
Categories: Dispatches, Technology. Tags: memory, memory_get_peak_usage, memory_get_usage, php, programming.
No Comments Yet
No comments yet.
Comments RSS
TrackBack Identifier URI
User contributed tags for this post:
php out of memory (68) - Out of memory php (58) - aflemsex (33) - php script memory (30) - php memory_get_usage (28) - php release memory (27) - memory_get_peak_usage (26) - php running out of memory (23) - kos18 (22) - WWW.yooplex.com (22) - php how much memory (16) - yooplex sex (15) - yooplex (14) - php out of memory error (14) - memory (12) - php script running out of memory (11) - php free memory (11) - php run out of memory (11) - seexy.com (9) - www.kos18com (9) - wordpress out of memory (8) - php memory_get_peak_usage (8) - php script memory usage (8) - php script using too much memory (7) - how much memory should a php script use (7) - out of memory in php (7) - seexy (7) - sex egybte (6) - kos18com (6) - release memory php (6) - memory_get_usage (5) - www.aflemsex.com (5) - memory_get_usage php (4) - apc out of memory (4) - how much memory is php using (4) - php script uses too much memory (4) - egybte sexe (4) - php script out of memory (4) - memory_get_usage wordpress (4) - why is php running out of memory (4) - www.google.egybte.com (4) - egybte sex (4) - Out of memory php error (4) - php script runs out of memory (4) - php script taking too much memory (4) - php consumed memory (3) - php memory script (3) - php script memory load (3) - wordpress php out of memory (3) - out of memory wordpress (3) - increase memory php script (3) - php script too large (3) - www.sex egybte.com (3) - php error out of memory (3) - seexy photo (3) - www.aflemsex (3) - how to release memory in php (3) - php memory Out of memory (3) - php code not releasing memory (3) - how much memory php script (3) - php scripts memory problem (3) - set php script memory (3) - find out how much memory a script is using (2) - php dtermine how much memory memory_limit (2) - www.yooplex.com***** (2) - php prevent out of memory (2) - php script max memory usage (2) - php memory consumed by script (2) - yooplex.com (2) - wordpress out of memmory (2) - how much memory php (2) - free php memory (2) - memory_get_peak_usage memory_get_usage (2) - how much memory should php scripts use (2) - memory_get_usage memory_get_peak_usage (2) - php log out of memory (2) - out of memory in mysql (2) - video sex egybte (2) - free memory php script (2) - php increase script memory (2) - how much memory php uses (2) - php, memory_get_usage (2) - increase mysql memory php (2) - php script memory limit (2) - how much memory is a php page using (2) - setting php memory limit in script (2) - php running out of memory log (2) - PHP scripts memory (2) - php detect out of memory (2) - *****www.yooplex.com (2) - script out of memory (2) - php how much memory is my page using? (2) - www.sex kos18com (2) - my php scripts (2) - php Out of memory xml (2) - php outofmemory (2) - php releasing memory (2) - memory_get_peak_usage php (2) - www.youtube egybte.com (2) - Out of memory error in php (2) - increase script memory (2) - php memory_get_usage(); (2) - php memory log (2) - php is running out of memory (2) - php out of memory log (2) - phpo script requires too much memory (2) - www.yooplex (2) - wordpress memory_get_peak_usage (2) - wordpress out of memory error (2) - how much memory is my php script using (2) - memory php (2) - php memory (2) - php out of memory with apc (2) - php out of memory performance (2) - php script too big (2) - php out of memory errors (2) - error 7 running out of memory php (2) - php debug out of memory error (1) - freeing up memory in php script (1) - script on page uses too much memory (1) - php how much memory am I using php (1) - how to prevent php to use all memory (1) - php tell how much memory a script is using (1) - php script release memory (1) - wordpress script memory limit (1) - php detect out-of-memory (1) - find out how much memory php uses (1) - php find out how much ram (1) - php display script memory (1) - how much memory php is using (1) -