Re: Re: Freeing memory for DOMDocument

From: Date: Wed, 07 Jan 2009 15:34:36 +0000
Subject: Re: Re: Freeing memory for DOMDocument
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-285569@lists.php.net to get a copy of this message
>> 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 the > end I opted for a CLI script which opened worker threads then > killed/restarted them when memory usage was X. Unfortunately, that is not an option for me. It just blows my mind that a method to free memory used for a DOMDocument object wasn't built in... :| thnx, Christoph

« previous php.general (#285569) next »