Re: how to count memory used by a script
| From: | Philip Olson | Date: | Mon, 09 Jun 2003 19:03:28 +0000 |
| Subject: | Re: how to count memory used by a script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150788@lists.php.net to get a copy of this message | ||
On Mon, 9 Jun 2003, Peter Berglund wrote:
> How do I count the memory usage of a script/page.
As of 4.3.2, if you compile PHP with --enable-memory-limit
you may use memory_get_usage(). This is documented and
will show up when the next PHP manual is built.
Regards,
Philip