Re: PHP 4.0 Bug #3500 Updated: memmory leak in $this and binary codes
| From: | Wico de Leeuw | Date: | Fri, 25 Feb 2000 12:58:00 +0000 |
| Subject: | Re: PHP 4.0 Bug #3500 Updated: memmory leak in $this and binary codes | ||
| References: | 1 2 3 4 5 6 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-15988@lists.php.net to get a copy of this message | ||
At 13:26 25-2-2000 +0100, thies@digicol.de wrote:
On Fri, Feb 25, 2000 at 12:57:02PM +0100, Wico de Leeuw wrote: At 12:38 25-2-2000 +0100, thies@digicol.de wrote:Hiya The problem is in the script the url is causing the problem (cuz of some weird chars or codes i think) the problem is that after running this script for a while it's slowly eating up memmory (steps of 8 kb, not much, but i use an almost the same function in an script that runs 24 hours a day and then it will end up with all the memmory) i just rechecked the script with the very very last cvs and it still does it :( Greetz, WicoOn Fri, Feb 25, 2000 at 12:26:38PM +0100, Wico de Leeuw wrote:i don't see mysql around here or do you mean the modules in php?At 09:57 25-2-2000 +0000, Bug Database wrote:haveID: 3500 Updated by: thies Reported By: wico@cnh.nl Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: please retry with b4 - i cannot reproduce it.Hiya it was in php4 will all cvs and the last one still has it... maybe youto play with the url try this url: http://www.cnh.nl/homenieuws/php it works for me ( or doesn't depending on the way you look :)please try to create a tiny (10 lines) testcase *whithout* mysql or any other module and send it to me.regards,uups i meant the other one - never mind.the "plop()" one runs stable (memory wise;-) for me. where exaclty is your problem? is it in "http://www.cnh.nl/homenieuws/php" or the plop() script that's attached?
tcGreetz, Wico <?class Test { var $a = "";function plop () { $this->a = implode ("", file("http://www.cnh.nl/homenieuws/php")); } }$wico = new Test();for ($x = 0; $x < 25000; $x++) { echo "$x<BR>\n"; flush(); $wico->Plop(); } ?>php-list-admin@lists.php.netTnx, WicoFull Bug description available at: http://bugs.php.net/?id=3500 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail:php-list-admin@lists.php.net-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail:----Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.netThies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany