Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25375 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49009 invoked by uid 1010); 16 Aug 2006 12:24:05 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 48965 invoked from network); 16 Aug 2006 12:24:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Aug 2006 12:24:05 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; domainkeys=good DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 66.249.92.175 ug-out-1314.google.com Linux 2.4/2.6 Received: from [66.249.92.175] ([66.249.92.175:56016] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.8 r(12549M)) with ESMTP id 12/6F-11355-1D203E44 for ; Wed, 16 Aug 2006 07:34:42 -0400 Received: by ug-out-1314.google.com with SMTP id k3so146440ugf for ; Wed, 16 Aug 2006 04:34:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Zwiv3hG7yb6N+F99OjTvAkjCuhleZpA+fYvf46qbJPDNuyqvWhpLI08b1zLnIqf2ELUYyZHwvmq+jBDzVxEJ5VpLuA+hwVPm1cT4F65MnMQsHFPNUg56TVl/gsg7p1XgwDIjcNU+HnVhwMY2p57r6GWmysPN04+6zmeCqfZlOO4= Received: by 10.66.224.19 with SMTP id w19mr264670ugg; Wed, 16 Aug 2006 04:34:38 -0700 (PDT) Received: by 10.66.248.15 with HTTP; Wed, 16 Aug 2006 04:34:38 -0700 (PDT) Message-ID: Date: Wed, 16 Aug 2006 13:34:38 +0200 To: toggg@php.net Cc: "Antony Dovgal" , internals@lists.php.net In-Reply-To: <44E30193.8090708@php.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060816123006.4028b334@pierre-u64> <44E2FDC8.2020503@toggg.com> <44E2FE2A.1000500@zend.com> <44E30193.8090708@php.net> Subject: Re: [PHP-DEV] Re: increase the default memory limit in 5.2.0+ From: pierre.php@gmail.com (Pierre) Hello, On 8/16/06, bertrand Gugger wrote: > 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. It is not at runtime, it is a php.ini definition, which is parsed before the execution. But this is not the subject of this discussion. --Pierre