On 11.01.2009 03:21, jvlad wrote: > Almost. > Try to compile your very-own-version of php, using configure argument > --disable-zend-memory-manager
There is no such configure option since ages. Zend MM can be disabled by setting USE_ZEND_ALLOC env var to 0, but only when --enable-debug is used (since nobody is supposed to do that except for debugging purposes). > also, disable _all_ php extensions that your scripts do not depend on. That won't affect memory usage very much. > - --enable-debug did report some small leaks, but much less then the >> consumption grow. > > zend memory manager won't release memory to the system. That's plain wrong. Of course it does free() memory whenever it thinks the memory should be free()-ed. Though that doesn't guarantee that the OS is be able to reuse this memory. -- Wbr, Antony Dovgal -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
