PHP 5.2 and PHP 4.4 use the same default memory limit - 8M, but near each internal structure in php 5.2 is bigger (zval, zend_class_entry, zend_op_array, zend_opcode, ...).this is one of the reasin to incrise default memory limit.
The second reason is new memory manager that uses sliht different symantick for memory_limit. (Memeory taken from system, instead of memory requested from malloc() library). I think we should set default memory_limit to 16M. Thanks. Dmitry. > -----Original Message----- > From: Ilia Alshanetsky [mailto:[EMAIL PROTECTED] On Behalf Of > Ilia Alshanetsky > Sent: Wednesday, August 16, 2006 5:48 PM > To: [EMAIL PROTECTED] > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] increase the default memory limit in 5.2.0+ > > > On 16-Aug-06, at 6:30 AM, 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. > > > > Is this caused by the increased memory usage during input processing > caused by the filter extension? I would be very interested in > hearing > what has caused PHP memory utilization to go up, since that will > likely result in reduced performance as well. > > Ilia Alshanetsky > > -- > 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