Re: [PHP4BETA] PHP4b3 RC3 Memory usage

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: [PHP4BETA] PHP4b3 RC3 Memory usage
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-6131@lists.php.net to get a copy of this message
> In main.c line 771 (php_request_shutdown function) change the second > parameter 0 to a 1. What happens is, we made a change so that memory is > cached also between requests and not only for the current request, this > change will make it clean the cache each request. This is better for > performance but eventually requires more memory. It would change each > individuals requests' memory usage though. You can also play around with > MAX_CACHED_MEMORY and MAX_CACHED_ENTRIES in zend_alloc.h if you want which > control what the maximum size of cached memory is and how many blocks of > each size to save. If these prove to make a significant difference in his case, we should probably make them compile-time configurable options and document the performance/memory tradeoffs. -Rasmus

« previous php.version4 (#6131) next »