Re: memory consumption from a script
| From: | Peter James | Date: | Sun, 27 Jul 2003 18:00:38 +0000 |
| Subject: | Re: memory consumption from a script | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-157095@lists.php.net to get a copy of this message | ||
I think it's pretty standard. It just means that you can control how much
memory your script uses.
--
Peter James
petej@phparch.com
php|architect
The Magazine for PHP Professionals
http://www.phparch.com
----- Original Message -----
From: "John W. Holmes" <holmes072000@charter.net>
To: "Peter James" <petej@interbaun.com>
Cc: "Torsten Rosenberger" <rosenberger@taoweb.at>;
<php-general@lists.php.net>
Sent: Sunday, July 27, 2003 10:50 AM
Subject: Re: [PHP] memory consumption from a script
> Peter James wrote:
> > A while ago, Philip Olson wrote:
> >
> >
> >>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.
> >
> > This function is not documented in the PHP manual, but is in the zend
copy:
> >
> > http://www.zend.com/manual/function.memory-get-usage.php
>
> Ah, that's the one I was looking for. Are there any downsides to
> compiling PHP with --enable-memory-limit or is that something that's
> normally done?
>
> --
> ---John Holmes...
>
> Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
>
> PHP|Architect: A magazine for PHP Professionals – www.phparch.com
>
>
>
>