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 HTH. Pete. -- Peter James [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com ----- Original Message ----- From: "John W. Holmes" <[EMAIL PROTECTED]> To: "Torsten Rosenberger" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, July 27, 2003 7:39 AM Subject: Re: [PHP] memory consumption from a script > Torsten Rosenberger wrote: > > is it possible to find out the memory consumption on a php script ? > > I trie to develop a chat with php and SHM and want to fiend out how > > much memory is used to scale the chat server > > No, not now. I seem to remember talk about a function that would help > with this being available in PHP5, but I can't find anything in the > documentation. > > -- > ---John Holmes... > > Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ > > PHP|Architect: A magazine for PHP Professionals – www.phparch.com > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php