Dec 02, 2010 04:27 AM|ferretneck|LINK
I have a webservice with a function (code below) which seems to be suffering from memory issues. When posting XML to the WS and using the function name as the SOAP action, the w3wp.exe memory creeps up and up and up until the app pool memory limit is reached
and the app pool recycles. This is causing several timeout errors per minute on my high traffic popular sandwich website.
Can anyone tell from my code why this is happening? I have googled XMLDocument to see if there is any way of disposing back to memory, but all the responses I have found say that there is no need.
I have tried running the function with no code in at all (to see if the memory leak is elsewhere) but this used little or no memory at all. I also removed all but the first oXML.Load and the memory issue reappeared.
Thanks for your help