I have a website that throws OutOfMemoryExceptions when it hits the following spot in my code:
XmlSerializer xs = new XmlSerializer(t, xoverrides);
Seeing how this only happens on the web server, I donβt have a ton of information about why this is happening. I know that the objects that he serializes are not too serious - definitely less than every MB.
Have you had this before? Feel how to help me diagnose a problem? Any help is appreciated.
Thanks!
Micah
source share