[php-maint] Bug#477185: Memory leak in date command
Dominique Fournier
dominique.fournier at grenoble.cnrs.fr
Mon Apr 21 16:52:10 UTC 2008
Package: php5-cli
Version: 5.2.0-8+etch10
Hello,
When I use the date command in a loop, I see the memory grow up.
Code :
<?
while (1)
{
printf (date("d/m/Y H:i:s")." ".memory_get_usage() ." \n");
}
?>
The result is :
....
21/04/2008 18:51:32 15657592
21/04/2008 18:51:32 15658136
21/04/2008 18:51:32 15658680
21/04/2008 18:51:32 15659224
21/04/2008 18:51:32 15659768
21/04/2008 18:51:32 15660312
...
I can see this on ps command, where the memory use goes up.
This arrive on AMD64 and i386 machines, in Etch, up to date.
Thanks
--
__ __ ___ __
/ / / / / Dominique Fournier
/ /__/ / / CNRS / Centre Réseau et Informatique Commun
\___ / \ _/_ \___ Tel : 04 76 88 78 59 / Fax : 04 76 88 12 95
Assistance Technique CRIC : 04 76 88 79 54
Certificats : http://igc.services.cnrs.fr/Doc/General/trust.html
Site Perso : http://dominique.fournier.homedns.org ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4093 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20080421/2315b3a9/attachment.bin
More information about the pkg-php-maint
mailing list