It seems if you have an empty XML tag i.e. <Items /> in XML in the request body, which incorrectly represents an array of items i.e. it should be <ArrayOfItems />. It seems to send IIS into a continous loop, the memory usage goes up and the CPU is continuously
used.
Surely if it's invalid XML the XmlFormatter should simply reject the request?
mtstapleton
0 Points
1 Post
Empty XML Tag Causes Memory Leak
Apr 20, 2012 04:31 PM|LINK
Hi,
It seems if you have an empty XML tag i.e. <Items /> in XML in the request body, which incorrectly represents an array of items i.e. it should be <ArrayOfItems />. It seems to send IIS into a continous loop, the memory usage goes up and the CPU is continuously used.
Surely if it's invalid XML the XmlFormatter should simply reject the request?
Regards
Mark
marcind
Contributor
3344 Points
609 Posts
Microsoft
Re: Empty XML Tag Causes Memory Leak
Apr 20, 2012 05:25 PM|LINK
Hello,
Could you provide the source code for your action method and that data model?
ASP.NET Team
@marcind
Blog