Re: How to measure memory leakage/usage in PHP?
| From: | Richard Lynch | Date: | Fri, 07 Mar 2008 15:05:14 +0000 |
| Subject: | Re: How to measure memory leakage/usage in PHP? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271125@lists.php.net to get a copy of this message | ||
On Wed, March 5, 2008 9:57 pm, Zareef Ahmed wrote:
> I am looking into the concepts behind memory management in PHP.
> Which
> kind of approach will be best to measure memory leakage or usage in a
> PHP
> script?
>
> I can measure my apache process but is there any way by which I can
> know
> which exact part of script is consuming how much memory?
valgrind is an excellent tool for this sort of thing.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?