>> 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php