Original Post
Hi all, I've recently been dabbling in C# and have written a fairly basic application for the company that I work for. The app reads in an XML file that details registry keys and WMI values to display as Labels on a form. It's all working nicely, but I've been asked to see if I can make it use less memory as it will be running all of the time on every PC in the company! Unfortunately I've not really done much optimising and having downloaded a .NET Memory Profiler, don't really understand what it's telling me. Could anyone point me in the right direction or give me any advice on how to profile code (mainly for memory usage, but generally just out of interest) and some general guidelines on keeping resource usage to a minimum? I know it's a bit of a vague question, but I'm not at a stage where I know specifics yet. Thanks in advance for any help or advice, PhilHalf