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
No comments yet.
Comments RSS
TrackBack Identifier URI
Leave a comment
User contributed tags for this post:
php script memory (8) - memory (6) - php running out of memory (6) - seexy.com (5) - aflam six arabic language (4) - seexy (3) - Out of memory php (3) - php out of memory (3) - memory_get_usage wordpress (2) - memory_get_peak_usage (2) - php script running out of memory (2) - php memory_get_usage (2) - memory_get_peak_usage wordpress (1) - www.xxl sexy movis.com (1) - php script out of memory (1) - egybt sexy aflam (1) - php scripts out of memory (1) - .seexy.com (1) - what is a high php memory_get_usage (1) - sex seexy sexy seexy com (1) - uses of myphp (1) - www.sexy.movis (1) - memory script php (1) - how many memory php scripts (1) - sexy seexy com (1) - seexy sex (1) - seexy sexy seexy sexy (1) - php web page error running out of memory (1) - running out of memory in php (1) - memory_get_usage out of memory (1) - memory_get_usage memory_get_peak_usage (1) - www . egyBt memory . com (1) - out of memory in php (1) - script sex php (1) - how much memory do php scripts use (1) - memory_get_usage php (1) - php script memort (1) - script running (1) - my php (1) - Out of memory, php (1) - running php in memory (1) - script memory in php (1) - php script sex (1) - how much memory consumes my php script (1) - determine memory required for a php script (1) - php how much memory is my script using (1) - php script uses too much memory (1) - php out of memory Out of memory (1) - which php script is using memory (1) - error running out of memory in php (1) - php memory_get_usage incorrect (1) - memory_get_peak_usage -manual (1) - php script using too much memory (1) - wordpress out of memory (1) - my ipod running out of memory recently (1) - sex php script (1) - www.xxxl.tv..com (1) - php script too much memory (1) - www.sexy movis.com (1) -