Click here to Skip to main content
15,914,010 members
Home / Discussions / C#
   

C#

 
GeneralRe: Large memory usage. Pin
Luc Pattyn8-Apr-09 15:58
sitebuilderLuc Pattyn8-Apr-09 15:58 
GeneralRe: Large memory usage. Pin
harold aptroot8-Apr-09 16:37
harold aptroot8-Apr-09 16:37 
GeneralRe: Large memory usage. Pin
Luc Pattyn8-Apr-09 17:05
sitebuilderLuc Pattyn8-Apr-09 17:05 
GeneralRe: Large memory usage. Pin
Dave Kreskowiak8-Apr-09 17:47
mveDave Kreskowiak8-Apr-09 17:47 
GeneralRe: Large memory usage. Pin
harold aptroot9-Apr-09 4:59
harold aptroot9-Apr-09 4:59 
GeneralRe: Large memory usage. Pin
Dave Kreskowiak9-Apr-09 13:16
mveDave Kreskowiak9-Apr-09 13:16 
GeneralRe: Large memory usage. Pin
harold aptroot9-Apr-09 13:38
harold aptroot9-Apr-09 13:38 
GeneralRe: Large memory usage. Pin
S. Senthil Kumar8-Apr-09 23:03
S. Senthil Kumar8-Apr-09 23:03 
harold aptroot wrote:
But I still want to know, you know, the minimize trick makes me curious as to how it manages to do whatever it is it's doing - and what is is doing? Forcing a GC? Releasing unused pages? Something else?


Windows does this, not .NET. When you minimize a GUI application, Windows trims the working set of the process (SetProcessWorkingSetSize[^], which writes out unused memory pages to disk, reducing the physical memory consumption of the application. What Task Manager shows in the "Mem Usage" column is the working set size, so that goes down. Windows does this so that the applications which appear in the foreground get some more physical memory to play with.

But in reality, there is no decrease in virtual memory consumption.

Regards
Senthil [MVP - Visual C#]
_____________________________
My Home Page |My Blog | My Articles | My Flickr | WinMacro

GeneralRe: Large memory usage. Pin
harold aptroot9-Apr-09 5:00
harold aptroot9-Apr-09 5:00 
GeneralRe: Large memory usage. Pin
Jacob Dixon9-Apr-09 5:16
Jacob Dixon9-Apr-09 5:16 
GeneralRe: Large memory usage. Pin
Luc 6480119-Apr-09 5:39
Luc 6480119-Apr-09 5:39 
AnswerRe: Large memory usage. Pin
Anubhava Dimri8-Apr-09 19:57
Anubhava Dimri8-Apr-09 19:57 
GeneralRe: Large memory usage. Pin
Jacob Dixon9-Apr-09 3:20
Jacob Dixon9-Apr-09 3:20 
GeneralRe: Large memory usage. Pin
Anubhava Dimri9-Apr-09 18:29
Anubhava Dimri9-Apr-09 18:29 
QuestionSelectedIndexChanged problem regarding combobox and data grid Pin
dave18168-Apr-09 14:40
dave18168-Apr-09 14:40 
AnswerRe: SelectedIndexChanged problem regarding combobox and data grid Pin
Christian Graus8-Apr-09 14:42
protectorChristian Graus8-Apr-09 14:42 
GeneralRe: SelectedIndexChanged problem regarding combobox and data grid Pin
a.hamidy8-Apr-09 18:24
a.hamidy8-Apr-09 18:24 
AnswerRe: SelectedIndexChanged problem regarding combobox and data grid Pin
dave18169-Apr-09 5:11
dave18169-Apr-09 5:11 
GeneralRe: SelectedIndexChanged problem regarding combobox and data grid Pin
dave181611-Apr-09 5:14
dave181611-Apr-09 5:14 
QuestionInstance Failure Pin
CodingYoshi8-Apr-09 11:36
CodingYoshi8-Apr-09 11:36 
AnswerRe: Instance Failure Pin
Luc Pattyn8-Apr-09 11:43
sitebuilderLuc Pattyn8-Apr-09 11:43 
GeneralRe: Instance Failure Pin
CodingYoshi9-Apr-09 4:06
CodingYoshi9-Apr-09 4:06 
QuestionTest XmlReader Node for a SubTree Pin
robertkjr3d8-Apr-09 9:00
robertkjr3d8-Apr-09 9:00 
AnswerRe: Test XmlReader Node for a SubTree Pin
Dave Kreskowiak8-Apr-09 12:43
mveDave Kreskowiak8-Apr-09 12:43 
QuestionInserting <br /> instead of \n in a textbox ? Pin
Mohammad Dayyan8-Apr-09 8:31
Mohammad Dayyan8-Apr-09 8:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.