Click here to Skip to main content
15,897,315 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Small size application Pin
Eddy Vluggen22-Dec-09 7:09
professionalEddy Vluggen22-Dec-09 7:09 
GeneralRe: Small size application Pin
FaisalMoon22-Dec-09 19:39
FaisalMoon22-Dec-09 19:39 
GeneralRe: Small size application Pin
Eddy Vluggen23-Dec-09 5:04
professionalEddy Vluggen23-Dec-09 5:04 
QuestionWindows Form with TableLayoutPanel is changing its Controls position when is shown in mdiParent Form. How to Resolve this Issue? Pin
Nouman_gcu21-Dec-09 1:20
Nouman_gcu21-Dec-09 1:20 
QuestionWindows Forms Memory Usage... Pin
1.21 Gigawatts20-Dec-09 5:05
1.21 Gigawatts20-Dec-09 5:05 
AnswerRe: Windows Forms Memory Usage... Pin
Luc Pattyn20-Dec-09 5:10
sitebuilderLuc Pattyn20-Dec-09 5:10 
GeneralRe: Windows Forms Memory Usage... Pin
1.21 Gigawatts20-Dec-09 5:11
1.21 Gigawatts20-Dec-09 5:11 
GeneralRe: Windows Forms Memory Usage... Pin
Luc Pattyn20-Dec-09 5:28
sitebuilderLuc Pattyn20-Dec-09 5:28 
your multiple choices aren't mutually exclusive, but I trust you're mostly worrying too much. What's another megabyte?

FYI:
- it all depends on where you look. Task Manager isn't a good place. My big apps typically show both clock time and Environment.WorkingSet in a status bar, updating at 1 Hz.
- a .NET app normally does not return any free memory to Windows; it does when getting minimized though.
- it may depend on Windows version and overall memory usage situation. More recent Windows (Vista, 7) tend to keep memory full of potentially useful data (similar to your app caching something with WeakReferences)
- AFAIK GC.Collect() isn't blocking, it just initiates (or suggests?) a collection. And one of those probably is insufficient to free all dead memory, as there are generations and a finalizer queue. If you must force GC, try a 3-iteration loop with Collect+wait100msec.
- You are aware calling GC.Collect in general isn't a good idea, it messes up the nice Microsoft machinery, well that is what they claim anyway.

Smile | :)

Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


GeneralRe: Windows Forms Memory Usage... Pin
1.21 Gigawatts20-Dec-09 5:48
1.21 Gigawatts20-Dec-09 5:48 
GeneralRe: Windows Forms Memory Usage... Pin
Luc Pattyn20-Dec-09 6:27
sitebuilderLuc Pattyn20-Dec-09 6:27 
AnswerRe: Windows Forms Memory Usage... Pin
Dave Kreskowiak20-Dec-09 7:57
mveDave Kreskowiak20-Dec-09 7:57 
GeneralRe: Windows Forms Memory Usage... Pin
1.21 Gigawatts20-Dec-09 19:46
1.21 Gigawatts20-Dec-09 19:46 
GeneralRe: Windows Forms Memory Usage... Pin
Roger Wright21-Dec-09 20:29
professionalRoger Wright21-Dec-09 20:29 
QuestionDatagridview inside a datagridview combobox control. Pin
arj_agt17-Dec-09 2:10
arj_agt17-Dec-09 2:10 
AnswerRe: Datagridview inside a datagridview combobox control. Pin
Mycroft Holmes17-Dec-09 4:01
professionalMycroft Holmes17-Dec-09 4:01 
GeneralRe: Datagridview inside a datagridview combobox control. Pin
arj_agt17-Dec-09 4:34
arj_agt17-Dec-09 4:34 
GeneralRe: Datagridview inside a datagridview combobox control. Pin
Mycroft Holmes17-Dec-09 12:02
professionalMycroft Holmes17-Dec-09 12:02 
GeneralRe: Datagridview inside a datagridview combobox control. Pin
arj_agt17-Dec-09 15:39
arj_agt17-Dec-09 15:39 
GeneralRe: Datagridview inside a datagridview combobox control. Pin
arj_agt24-Dec-09 2:27
arj_agt24-Dec-09 2:27 
QuestionFluid Layout By Custom Polygon Shapes Pin
Som Shekhar15-Dec-09 18:36
Som Shekhar15-Dec-09 18:36 
AnswerRe: Fluid Layout By Custom Polygon Shapes - [REPOST] Pin
Richard MacCutchan15-Dec-09 23:27
mveRichard MacCutchan15-Dec-09 23:27 
GeneralRe: Fluid Layout By Custom Polygon Shapes - [REPOST] Pin
Som Shekhar15-Dec-09 23:28
Som Shekhar15-Dec-09 23:28 
GeneralRe: Fluid Layout By Custom Polygon Shapes - [REPOST] Pin
Som Shekhar15-Dec-09 23:29
Som Shekhar15-Dec-09 23:29 
GeneralRe: Fluid Layout By Custom Polygon Shapes - [REPOST] Pin
Richard MacCutchan15-Dec-09 23:31
mveRichard MacCutchan15-Dec-09 23:31 
GeneralRe: Fluid Layout By Custom Polygon Shapes - [REPOST] Pin
Som Shekhar15-Dec-09 23:33
Som Shekhar15-Dec-09 23:33 

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.