|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VB and Mem UsageWhen I run my program memory usage under Task Manager's Processes tab
indicates about 9 megs. And as I do things with the program memory usage witll top out at about 12 Megs. However, if I minimize the program to the taskbar, memory usage drops to about 500KB. And, when I restore the app to the foreground memory usage reports about 2 Megs and as I use the program mem usage rises. Why so variable, especially the difference in when I first start the app and when I minimize and restore? Rob,
The answer on this is simple, don't look at the task manager for memory usage with Net. The taskmanager is an idicator something the same as you maybe have in your car, an indicator how many miles/kilometer you can ride with the current fuel, but that is an aprox. This is often handled in this newsgroups. In my idea the most in depth by Willy. http://groups.google.com/group/microsoft.public.dotnet.general/browse_frm/thread/9090fa54298a3476/18b3648ef578f4d2?q=willy+taskmanager&rnum=9#18b3648ef578f4d2 I see that this thread becomes recursive. I hope this helps, Cor Show quoteHide quote "Rob Harris" <garb***@wildblue.net> schreef in bericht news:uC2W$zBYGHA.1204@TK2MSFTNGP04.phx.gbl... > When I run my program memory usage under Task Manager's Processes tab > indicates about 9 megs. And as I do things with the program memory usage > witll top out at about 12 Megs. However, if I minimize the program to the > taskbar, memory usage drops to about 500KB. And, when I restore the app > to the foreground memory usage reports about 2 Megs and as I use the > program mem usage rises. Why so variable, especially the difference in > when I first start the app and when I minimize and restore? > "Rob Harris" <garb***@wildblue.net> schrieb: I suggest to take a look at this article:> When I run my program memory usage under Task Manager's Processes tab > indicates about 9 megs. And as I do things with the program memory usage > witll top out at about 12 Megs. However, if I minimize the program to the > taskbar, memory usage drops to about 500KB. And, when I restore the app > to the foreground memory usage reports about 2 Megs and as I use the > program mem usage rises. Why so variable, especially the difference in > when I first start the app and when I minimize and restore? 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> In addition consider taking a look at the documentation chapters about Garbage Collection. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
Nothing as a char of a string
Outlook MSG file reading Copywriting or protecting your program Timer fires inconsistantely Threading a Create Dataset method is there a way to do this An idea to save learning time. How to show a form of c# in VB.Net from ? Running Apps and Threads Io.FileInfo and comboBox control |
|||||||||||||||||||||||