Click here to Skip to main content
15,900,378 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: USB Pin
Luc Pattyn22-Nov-07 6:37
sitebuilderLuc Pattyn22-Nov-07 6:37 
Questioniam new to .net,do help Pin
arunkumarv22-Nov-07 2:10
arunkumarv22-Nov-07 2:10 
AnswerRe: iam new to .net,do help Pin
Xmen Real 24-Nov-07 4:23
professional Xmen Real 24-Nov-07 4:23 
Questioni have to capture the row values seperately in an datagridview. Pin
arunkumarv21-Nov-07 23:03
arunkumarv21-Nov-07 23:03 
Questionhow can i bind database to listbox.. Pin
Rajeshwar Code- Developer21-Nov-07 18:52
Rajeshwar Code- Developer21-Nov-07 18:52 
GeneralRe: how can i bind database to listbox.. Pin
Sam Xavier7-Mar-08 1:21
Sam Xavier7-Mar-08 1:21 
QuestionHow come an empty Form would need +10MB memory? Pin
antoniochris21-Nov-07 18:21
antoniochris21-Nov-07 18:21 
AnswerRe: How come an empty Form would need +10MB memory? Pin
Dave Kreskowiak23-Nov-07 5:41
mveDave Kreskowiak23-Nov-07 5:41 
This is becase you don't understand who memory allocation works under the .NET Framework. YOu're looking in Task Manager for the size of your application (not your form!) Task Manager is showing you the memory reserved by the .NET runtime (called the Managed Heap), NOT how much memory your application is actually using. When you app gets around to allocating memory for objects, the allocation is made from the Managed Heap where it happens very quickly. If the Managed Heap runs dry (not very likely), the CLR has to go to Windows to get more memory for the Managed Heap, which takes more time.

If Windows start to run low on memory, it can go back to the .NET CLR and ask for memory to be returned, which the runtime will happily do if it's not being used.

If you want to see how much memory your app is actually using, use the Performance Monitor and the .NET CLR memory counters, not Task Manager.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


Questionneed quickly Pin
nta_388621-Nov-07 4:00
nta_388621-Nov-07 4:00 
AnswerRe: need quickly Pin
Pete O'Hanlon21-Nov-07 9:42
mvePete O'Hanlon21-Nov-07 9:42 
GeneralRe: need quickly Pin
Luc Pattyn21-Nov-07 10:28
sitebuilderLuc Pattyn21-Nov-07 10:28 
GeneralRe: need quickly Pin
Pete O'Hanlon21-Nov-07 10:45
mvePete O'Hanlon21-Nov-07 10:45 
GeneralRe: need quickly Pin
Luc Pattyn21-Nov-07 11:28
sitebuilderLuc Pattyn21-Nov-07 11:28 
GeneralRe: need quickly Pin
Ian Shlasko23-Nov-07 4:42
Ian Shlasko23-Nov-07 4:42 
GeneralRe: need quickly Pin
Luc Pattyn23-Nov-07 5:41
sitebuilderLuc Pattyn23-Nov-07 5:41 
GeneralRe: need quickly Pin
Ravi Bhavnani30-Nov-07 6:29
professionalRavi Bhavnani30-Nov-07 6:29 
AnswerRe: need quickly Pin
Paul Conrad23-Nov-07 14:24
professionalPaul Conrad23-Nov-07 14:24 
AnswerRe: need quickly Pin
NanaAM26-Nov-07 1:06
NanaAM26-Nov-07 1:06 
AnswerRe: need quickly Pin
Ravi Bhavnani30-Nov-07 6:32
professionalRavi Bhavnani30-Nov-07 6:32 
QuestionSql Resource provider for WinForms Pin
coolestCoder20-Nov-07 23:59
coolestCoder20-Nov-07 23:59 
QuestionUser Control with dynamic embedded controls!? Pin
Skeletor2320-Nov-07 10:34
Skeletor2320-Nov-07 10:34 
AnswerRe: User Control with dynamic embedded controls!? Pin
Dave Kreskowiak21-Nov-07 9:07
mveDave Kreskowiak21-Nov-07 9:07 
GeneralRe: User Control with dynamic embedded controls!? Pin
Skeletor2323-Nov-07 2:49
Skeletor2323-Nov-07 2:49 
Questionneed help with connecting to access database in vs.net 2005 c# window form Pin
neodeaths20-Nov-07 6:44
neodeaths20-Nov-07 6:44 
Questionhow to sendmessage to static text control and to edit box? Pin
thaobuoi19-Nov-07 14:25
thaobuoi19-Nov-07 14:25 

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.