RE: [PHP-DEV] increase the default memory limit in 5.2.0+

2006-08-16 Thread Andi Gutmans
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 a

RE: [PHP-DEV] increase the default memory limit in 5.2.0+

2006-08-16 Thread Dmitry Stogov
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 s

RE: [PHP-DEV] increase the default memory limit in 5.2.0+

2006-08-16 Thread Dmitry Stogov
> -Original Message- > From: Stefan Esser [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 16, 2006 4:40 PM > 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

[PHP-DEV] CVS Account Request: mabingyao

2006-08-16 Thread Ma Bingyao
to release XXTEA PECL extension. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] increase the default memory limit in 5.2.0+

2006-08-16 Thread Matt W
- Original Message - From: "Stefan Esser" Sent: Wednesday, August 16, 2006 > 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 l

Re: [PHP-DEV] increase the default memory limit in 5.2.0+

2006-08-16 Thread Pierre
Hello, On 8/16/06, Ilia Alshanetsky <[EMAIL PROTECTED]> wrote: 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 r

Re: [PHP-DEV] increase the default memory limit in 5.2.0+

2006-08-16 Thread Ilia Alshanetsky
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

Re: [PHP-DEV] increase the default memory limit in 5.2.0+

2006-08-16 Thread Stefan Esser
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 comman

Re: [PHP-DEV] is_numeric_string causes function inconsistency

2006-08-16 Thread Matt W
Hi Pierre, After checking places where is_numeric... functions are used (http://lxr.php.net/ident?i=is_numeric_string), it looks like changing to allow *trailing* spaces would have an impact in zend_operators.c for at least compare_function() (and I guess increment_function() too). e.g. ('1' == '

Re: [PHP-DEV] increase the default memory limit in 5.2.0+

2006-08-16 Thread Pierre
Hello, On 8/16/06, Derick Rethans <[EMAIL PROTECTED]> wrote: On Wed, 16 Aug 2006, Pierre wrote: > 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 actually thought we in

Re: [PHP-DEV] Re: increase the default memory limit in 5.2.0+

2006-08-16 Thread Pierre
Hello, On 8/16/06, bertrand Gugger <[EMAIL PROTECTED]> 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 t

Re: [PHP-DEV] increase the default memory limit in 5.2.0+

2006-08-16 Thread Marco
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? Could we not increase it to 16MB? Almost every server I have used has changes the php.ini from 8MB to 16MB anyway. Regards

Re: [PHP-DEV] Re: increase the default memory limit in 5.2.0+

2006-08-16 Thread 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

Re: [PHP-DEV] Re: increase the default memory limit in 5.2.0+

2006-08-16 Thread Antony Dovgal
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.

Re: [PHP-DEV] increase the default memory limit in 5.2.0+

2006-08-16 Thread Derick Rethans
On Wed, 16 Aug 2006, Pierre wrote: > 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 actually thought we increased it to 16M already... but apparently not. regards, Deri

[PHP-DEV] Re: increase the default memory limit in 5.2.0+

2006-08-16 Thread bertrand Gugger
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 p

[PHP-DEV] increase the default memory limit in 5.2.0+

2006-08-16 Thread Pierre
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

Re: [PHP-DEV] [PATCH] array_count_values bug: mishandling of numbers with leading whitespace

2006-08-16 Thread Pierre
Hello Matt, > Which part of "We need to sit down and come up with a proposal?" did > you not understand? seriously? Nothing. :-) But the patch is all I know of, so that was my proposal. Maybe with the "sitting down," "if" to change this function would be the decision, but not "what" to change,

Re: [PHP-DEV] [PATCH] array_count_values bug: mishandling of numbers with leading whitespace

2006-08-16 Thread Matt W
Hi Pierre, - Original Message - From: "Pierre" Sent: Wednesday, August 16, 2006 > Hello Matt, > > > > Which part of "We need to sit down and come up with a proposal?" did > > > you not understand? seriously? > > > > Nothing. :-) But the patch is all I know of, so that was my proposal. >

Re: [PHP-DEV] [PATCH] array_count_values bug: mishandling of numbers with leading whitespace

2006-08-16 Thread Matt W
Hi Pierre, - Original Message - From: "Pierre" Sent: Tuesday, August 15, 2006 > Hello, > > On 8/15/06, Matt W wrote: > > Hi Pierre, > > > > I will go ahead and enter a Bug report for this in a bit ('cause there's > > definitely a bug), just so it's in the official place (preferred, I gue