Re: Bug #11354 Updated: docs allocated by xmlParseFile need to be freed

From: Date: Thu, 22 Nov 2001 01:14:05 +0000
Subject: Re: Bug #11354 Updated: docs allocated by xmlParseFile need to be freed
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-71341@lists.php.net to get a copy of this message
Is there any update on this? I mean, I think the current ZE won't change that fast ;) Can we suspent/bogus/close/whatever it or just leave it untouched? - Markus On Fri, Jun 29, 2001 at 09:10:42AM -0000, derick@php.net wrote : > ID: 11354 > Updated by: derick > Reported By: tgagne@efinnet.com > Status: Open > Bug Type: DOM XML related > Operating system: > PHP Version: 4.0.5 > Assigned To: > Comments: > > Zeev, Andi, > > is this possible with the Zend Engine at all? Are the > destructers called when a variabele is reassigned? > > Derick > > Previous Comments: > --------------------------------------------------------------------------- > > [2001-06-08 06:32:44] tgagne@efinnet.com > In a loop: > > while (somethings true) { > $doc = xmlDocFile($xmlFile); > } > > All the documents aren't freed until the CGI finishes. Instead of waiting until the > script finishes, the memory (which can be HUGE) must be deallocated as the variable gets reassigned. > > --------------------------------------------------------------------------- > > > > ATTENTION! Do NOT reply to this email! > To reply, use the web interface found at > http://bugs.php.net/?id=11354&edit=2 > > > -- > 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

« previous php.dev (#71341) next »