On 27-Jul-06, at 1:17 PM, Ron Korving wrote:

Yes, hosting providers would enable the memory limit. But who wants to use memory_get_[peak_]usage()? Not the hosting provider, but the application
developer.


The peak usage function was added with profiling in mind and keeping track of scripts that spike memory, when I added it the intent was it would help with profiling and debugging. Not something used everyday in production environment. In dev environment speed is not an issue, so you can enable memory limit and raise the limit to some very high value such as 1Gb so it does not get in the way.


Ilia Alshanetsky

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to