Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Reduce Memory Footprint Of A .NET Application

DZone's Guide to

Reduce Memory Footprint Of A .NET Application

·
Free Resource
Don’t ask me anything. It just works :)


 try
{
Process process = Process.GetCurrentProcess();
process.MaxWorkingSet = loProcess.MaxWorkingSet;
process.Dispose();
}
catch { }


p.s. you can even make a timer that could run this piece of code periodically. 
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}