Hi,

Is it just me or has anybody else noticed the strange memory consumption of a .NET application?

I noticed this some time ago, but forgot to look into it fully. If you create a new, empty project in any .NET language and then run it (this is a blank form), inspecting the app in Task Manager shows that the initial Mem Usage for this app is 10,924 K!!! This is enormous! There is nothing on the form!!!

So, then minimize the app. Now look at the mem usage - it drops to 628 K! Quite a massive difference. OK, so the app is idle? There are no great suprises to anybody there........ but then on returning the app to focus, the memory usage not shows 1,448 K and it will remain pretty static for the remainder of it's life in memory.

Now, is this a bug? Is it something that is supposed to happen in .NET? I hope somebody can untangle the web of Microsoft Help and find something on this for me?

Would be extremely grateful,
DJ