Form's memory size on minimize

  • Thread starter Thread starter adiavn
  • Start date Start date
A

adiavn

Hello
I noticed a strange behavior for winforms:
I create an empty winform application (VS 2005), and changed the FormStyle
property to minimized.
According to the task manager, the release version of the application takes
several MB of memory.
Now I restored the application and minimized it again. The memory signature
dropped to 400kb.
What caused this effect? why only when I did it manually?
Thanks
 
adiavn said:
I noticed a strange behavior for winforms:
I create an empty winform application (VS 2005), and changed the FormStyle
property to minimized.
According to the task manager, the release version of the application
takes
several MB of memory.
Now I restored the application and minimized it again. The memory
signature
dropped to 400kb.
What caused this effect? why only when I did it manually?

I suggest to take a look at this article:

The working set of an application is trimmed when its top-level window is
minimized
<URL:http://support.microsoft.com/?scid=kb;EN-US;293215>
 
Thanks for the information.
How does this apply to a .Net application?
Will managed objects I have in memory (not form related) be trimmed?
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top