6

Is there a way to check what memory has been allocated to in a program coded in VS 2010? I've been noticing that a recent program I've been making keeps using more and more memory over time without releasing any.

Also, are there any articles on code design that teaches you good memory management? I seem to be searching the wrong terms on google as I keep getting useless results.

Ying Chan
  • 441
  • 3
  • 7
  • 8

1 Answers1

6

There are commercial tools such as ANTS Memory Profiler or .NET Memory Profiler or dotTrace. Secondly, take a look at this MSDN article. Lastly, Maoni Stephens has many blog posts on garbage collection and memory management in .NET. They are all linked here.

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Daniel Rose
  • 17,233
  • 9
  • 65
  • 88