[php-maint] Bug#420609: memory leaks [ unfortunately continued ]

.PaKud kudzia at gmail.com
Wed May 2 14:31:29 UTC 2007

Package: php5
Version: 5.2.0-8+etch3


i'm sorry to tell that but it seems memory-leak problem similar to
previous still occurs.
when i run test as below i get continuous [ even increasing over time
] increase of memory usage.

php4 [ PHP 4.4.4-8+etch2 ] on the same test does not leak any memory.

p2back2:~$  php5 --version
PHP 5.2.0-8+etch3 (cli) (built: Apr 29 2007 10:42:07)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies

test by running:
p2back2:~$ php5 -f a.php


$last = 0;
for( $i=0;$i<30000;$i++ ){
        $y = '';


        $m = memory_get_usage();
        echo $m." ".( $m-$last )."\n";
        $last = $m;

thanks for your help.

Pawel Kudzia / .PaKud / http://pqd.one.pl

More information about the pkg-php-maint mailing list