tags:

views:

212

answers:

2

I need to do some memory profiling of a .NET Framework application. Should I use a debug or a release build?

A: 

You should profile the builds that are causing the problems. I'm assuming you are giving your users a Release build and so that's the one you should profile.

Austin Salonen
+5  A: 

A release build, built with debug symbols.

That way there's no debug build overhead (like extra memory added after arrays for overrun detection), but you still have the names needed to associate addresses with variables.

AShelly