Hi all,

I created a new windows application and on the default form, add one button.

Thats it, now I compile the "application" in "release" mode and close visual studio.

It creates the .exe of size = 10KB

now when i run this application which is going to display me just a form with one button and absolutely no code, takes some - 8564K memory (Task Manager - processes tab - Mem usage)

When this form is minimized - Mem usage becomes 696 KB
and when again its restored then the Mem usuage is - 2284 K

Will someone tell me why just a simple form takes so much memory and if possible how can we "reduce" this memory usuage to the mimimum possible?

Thanks