I've rediscoverred gwynne's workaround for super-slow freeing of memory by libxml. The trick is to edit dom_objects_free_storage in ext/dom/php_dom.c, commenting out the line:
retcount = php_libxml_decrement_doc_ref(.. I don't know if we should officially "recommend" this though; omitting it will result in some nasty memory leaks...even though PHP is stateless between requests it might negatively affect other things. And I'm sure most casual users won't want to maintain their own build of PHP to run configure.php. I'm going to fire a query to libxml and ask them if they know about this problem. -- Edward Z. Yang GnuPG: 0x869C48DA HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter [[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]