NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Memory Monitor for Leaks


Joined: 20 Nov 2009
Posts: 4
Location: Reading, UK
Reply with quote
Hi

I'm new to PHP ED - which from my experiance so far is fantastic BTW Very Happy

I'm also relativley new to PHP and an worried that I'm writing 'bad' code that might leak memory through not closing arrays or data connections etc.

Does PHP ED have any memory monitoring facility that I could use to track the memory used by PHP while my application modules run?

I have looked at Profiler, which is also brilliant, but only gives back process time information not memory used by process.

If there is not a facility then perhaps you could add this as a 'Feature Request'?

Thanks - Stuart
View user's profileFind all posts by StuartMailSend private message
PHP Memory Monitor


Joined: 20 Nov 2009
Posts: 4
Location: Reading, UK
Reply with quote
BTW I do know about

memory_get_usage()
memory_get_peak_usage()

in PHP 5.2

Which are fine but it would be nice to have a PHP ED memory monitor that did not involve adding this as debug code to every block of code or module to find out what memory thay are using or not releasing.

Stuart
View user's profileFind all posts by StuartMailSend private message
Memory Monitor for Leaks
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic