We are running into OutOfMemory issues when testing the service that returns large results. Web service libraries are relying on DOM to serialize the DTO, it appears that DOM does this very inefficiently. I am wondering if there is a way to replace DOM with SAX/other parser to increase efficiency?
Any ideas friends?
How can I replace underlying parsing engine to SAX from DOM ?