I've bumped the memory limit to 16 megs in RC2 and PHP6.
On 16-Aug-06, at 8:43 PM, Andi Gutmans wrote:
The new memory manager actually wastes less memory than the old
one, scales
better and most important to this discussion, the memory
consumption is far
more accurate as it also takes into account the memory manager
overhead.
Therefore, we are not consuming 1.5x memory, but we are reporting a
more
accurate number which is about 1.5x of what the old one reported.
My suggestion is to raise the limit to 16M both in the php.ini*
files that
come with PHP and in the source.
Andi
-----Original Message-----
From: Stefan Esser [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 16, 2006 5:40 AM
To: [EMAIL PROTECTED]
Cc: internals@lists.php.net
Subject: Re: [PHP-DEV] increase the default memory limit in 5.2.0+
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.
The question is why do we want a new memory manager that
seems to allocate 1.5 times more memory than the old one.
I haven't looked into it yet, but for me this looks like a
waste of ressources. What are the advantages of it. I really
doubt, that a significant speed increase can be measured, and
I wonder if it worth the waste of memory.
Yours,
Stefan Esser
--
PHP Internals - PHP Runtime Development Mailing List To
unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Ilia Alshanetsky
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php