Re: increase the default memory limit in 5.2.0+

From: Date: Wed, 16 Aug 2006 11:13:12 +0000
Subject: Re: increase the default memory limit in 5.2.0+
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-25370@lists.php.net to get a copy of this message
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 ? Why do we need to --enable-memory-limit to be able to get a custom value but then at run time only ? In clear, I would like to be able to generate php with a limit given in ./configure. This limit may be different from an install to another , depending on the applications. I hope my poor english is understandable. Regards.

« previous php.internals (#25370) next »