Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / March 2006

Tip: Looking for answers? Try searching our database.

Run Minimized - Memory Consumption

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JezB - 27 Mar 2006 00:16 GMT
I'm writing a windows app that's designed to run minimized (showing a tray
icon only, not in the taskbar).

Starting the app in normal mode (window Normalized) it takes about 17Mb of
memory, then when I minimize it to the tray this shrinks to 2Mb.

Starting the app window as minimized though consumes the full 17Mb of
memory. If I normalize or maximize the window it stays the same, only
reducing to 2Mb when I minimize it manually.

I want the app to run minimized by default, so I want to start it minimized,
but I can't seem to get this to only consume the 2Mb of memory that it
should.

I'm on framework 2.0. Any advice anyone ?
Cerebrus - 27 Mar 2006 12:54 GMT
Are you checking the memory usage from the Task manager window
(Ctrl+Alt+Del) ? The minimized figure is just as misleading as the
Restored Window figure.

If so, this article might clear up things...

<http://www.itwriting.com/dotnetmem.php>

Regards,

Cerebrus.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.