Re: [PHP-DEV] PHP4 vs PHP5 Beta 3 : memory usage

2004-01-08 Thread Armel FAUVEAU
> >I don't really understand why that can evolve like that. With PHP4, results > >are always the same (and that seems normal :p). > > Your apache is configured to kill childs after certain amount > of requests so of course it makes this look like 'random'. > There's nothing wrong here.

Re: [PHP-DEV] PHP4 vs PHP5 Beta 3 : memory usage

2004-01-08 Thread Jani Taskinen
On Thu, 8 Jan 2004, Armel FAUVEAU wrote: >Hi Jani, > >Thank's for your response. > >> I tried your script and couldn't reproduce such big numbers. >> Plus the memory usage leveled to 54152 bytes after some requests >> to each apache child. This was with using the latest CVS checkout

Re: [PHP-DEV] PHP4 vs PHP5 Beta 3 : memory usage

2004-01-08 Thread Armel FAUVEAU
Hi Jani, Thank's for your response. > I tried your script and couldn't reproduce such big numbers. > Plus the memory usage leveled to 54152 bytes after some requests > to each apache child. This was with using the latest CVS checkout > of PHP 5. Ok, i have make a test with th

Re: [PHP-DEV] PHP4 vs PHP5 Beta 3 : memory usage

2004-01-08 Thread Jani Taskinen
I tried your script and couldn't reproduce such big numbers. Plus the memory usage leveled to 54152 bytes after some requests to each apache child. This was with using the latest CVS checkout of PHP 5. --Jani On Thu, 8 Jan 2004, Armel FAUVEAU wrote: >Hi all,

[PHP-DEV] PHP4 vs PHP5 Beta 3 : memory usage

2004-01-08 Thread Armel FAUVEAU
Hi all, I wanted to compare the memory usage of PHP4 and PHP5 (Beta 3) on a same script. And i observed a strange problem. So, here is a small test (if you want to reproduce it). First, i write a small and short php script. It just make a simple memory_get_usage() (with a number_format for the p