.NET Memory Leak: XmlSerializing your way to a Memory Leak

Tess Ferrandez talks about a .NET memory leak, caused by using the default constructors other than, XmlSerializer(type) and XmlSerializer(type, defaultNameSpace), when XML serializing objects. In a nut shell, dynamic code generation, which is used in XML Serialization, Regular Expressions, and XSLT transformations, can lead to memory leaks.

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s