Is it possible to break into debugger when the allocated memory of attached-to process becomes bigger than a certain value?
Preferrably using Visual Studio 2005, but other IDE's/debuggers are an option.
There is no direct way to do it. Alternative is to set ordinary breakpoint somewhere inside CRT allocation code, and set it to break when the hit count is multiple of say 2000. You'll get to wanted state quickly enough.