Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25373 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8037 invoked by uid 1010); 16 Aug 2006 11:23:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 8022 invoked from network); 16 Aug 2006 11:23:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Aug 2006 11:23:38 -0000 X-PHP-List-Original-Sender: toggg@php.net X-Host-Fingerprint: 212.27.42.29 smtp3-g19.free.fr Linux 2.4/2.6 Received: from [212.27.42.29] ([212.27.42.29:47116] helo=smtp3-g19.free.fr) by pb1.pair.com (ecelerity 2.1.1.8 r(12549M)) with ESMTP id B7/1F-11355-83003E44 for ; Wed, 16 Aug 2006 07:23:38 -0400 Received: from [192.168.0.3] (lns-bzn-44-82-64-121-227.adsl.proxad.net [82.64.121.227]) by smtp3-g19.free.fr (Postfix) with ESMTP id F073449135; Wed, 16 Aug 2006 13:23:33 +0200 (CEST) Message-ID: <44E30193.8090708@php.net> Date: Wed, 16 Aug 2006 13:29:23 +0200 Reply-To: toggg@php.net User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Antony Dovgal CC: internals@lists.php.net References: <20060816123006.4028b334@pierre-u64> <44E2FDC8.2020503@toggg.com> <44E2FE2A.1000500@zend.com> In-Reply-To: <44E2FE2A.1000500@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: increase the default memory limit in 5.2.0+ From: toggg@php.net (bertrand Gugger) Antony Dovgal wrote: > On 16.08.2006 15:13, bertrand Gugger wrote: > >> Bonjour, >> Pierre wrote: >> >>> Hello, >>> >>> After having tested 5.2 and the new memory manager for a couple of >>> weeks, I notice a significant increase of the reported memory usage. As >>> a side effect, many applications reach the 8M memory limit. It can be >>> a problem. >>> >>> A good example is to compare the usage of a pear/pecl command between >>> 5.1 and 5.2. >>> >>> I would suggest to increase the default 8M to 12M. I discussed this >>> issue with Dmitry and he agrees on the principle. Any other opinions? >>> Or is it fine to increase it? >> >> >> I know a few cms they would be pleased with 12M. >> That looks quite fair to me. >> >> But , why the hell is this not a configurable limit by build ? > > > JFYI: Its value is configurable in php.ini, configure option just > enables or disables the limit itself. > Exactly my question , why is it configurable *only* at run time ? I want to generate a php with a custom *fixed* limit , but not enable memory limit setting at run time. Sorry if my english is bad , but please , try to understand my question. Regards