Re: [PHP] Re: Freeing memory for DOMDocument

2009-01-07 Thread Rob Richards
i wrote. > To: php-general@lists.php.net; jcbo...@yahoo.com > Date: Wed, 7 Jan 2009 15:21:50 + > From: nrix...@gmail.com > CC: php-general@lists.php.net > Subject: [PHP] Re: Freeing memory for DOMDocument > > Christoph Boget wrote: > > I'm running through a

Re: [PHP] Re: Freeing memory for DOMDocument

2009-01-07 Thread Nathan Rixham
php-general@lists.php.net; jcbo...@yahoo.com > Date: Wed, 7 Jan 2009 15:21:50 + > From: nrix...@gmail.com > CC: php-general@lists.php.net > Subject: [PHP] Re: Freeing memory for DOMDocument > > Christoph Boget wrote: > > I'm running through a large dataset an

RE: [PHP] Re: Freeing memory for DOMDocument

2009-01-07 Thread Jesús Enrique Muñoz Fernández
com > Date: Wed, 7 Jan 2009 15:21:50 + > From: nrix...@gmail.com > CC: php-general@lists.php.net > Subject: [PHP] Re: Freeing memory for DOMDocument > > Christoph Boget wrote: > > I'm running through a large dataset and am generating/manipulating XML > > docume

Re: [PHP] Re: Freeing memory for DOMDocument

2009-01-07 Thread Christoph Boget
>> Does anyone know how (or even if) I can explicitly free the memory >> used for the DOMDocument? Any help/advice would be greatly >> appreciated! > I've had exactly the same problem and couldn't find a way around it; even > after unsetting every variable in my scripts inside a for/while loop; in

[PHP] Re: Freeing memory for DOMDocument

2009-01-07 Thread Nathan Rixham
Christoph Boget wrote: I'm running through a large dataset and am generating/manipulating XML documents for each record. What's happening is that after a while, I get a fatal error saying: Fatal error: Allowed memory size of 167772160 bytes exhausted (tried to allocate 32650313 bytes) Each XML