Hi everybody, I think there seems to be a general memory problem with the XML-RPC classes. I have looked around and found these two interesting articles of IBM: http://www.ibm.com/developerworks/xml/library/x-xmlphp2.html and http://www.ibm.com/developerworks/xml/library/x-tipbigdoc2.html
In the first article they say: " XMLReader in action XMLReader, as a stream parser, is well-suited to parsing large XML documents; it is a lot easier to code than SAX and usually faster." for example a normal response of one XML-RPC request is as PHP array 380 KB huge (copied in a textfile). As XML-RPC Response it is about 530 KB as XML... It needs about 8 MB of memory just for parsing and sometimes I get an error that too much memory has been allocated by PHP. I think this small amount of data must be able to convert from XML to PHP array. Maybe that works with XMLReader? Or can just someone explain me why this request needs so much memory? Other requests with about 100 KB or 200 KB of XML data does not have any memory leak problem! Regards Dennis Becker
