Click here to Skip to main content
16,008,490 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Garbage Collection In VB.Net Pin
kpr_psna9-Jan-06 21:12
kpr_psna9-Jan-06 21:12 
GeneralRe: Garbage Collection In VB.Net Pin
Dave Kreskowiak10-Jan-06 4:08
mveDave Kreskowiak10-Jan-06 4:08 
GeneralRe: Garbage Collection In VB.Net Pin
Steve Pullan10-Jan-06 14:37
Steve Pullan10-Jan-06 14:37 
AnswerRe: Garbage Collection In VB.Net Pin
[Marc]9-Jan-06 19:37
[Marc]9-Jan-06 19:37 
GeneralRe: Garbage Collection In VB.Net Pin
Colin Angus Mackay9-Jan-06 21:03
Colin Angus Mackay9-Jan-06 21:03 
GeneralRe: Garbage Collection In VB.Net Pin
[Marc]10-Jan-06 9:00
[Marc]10-Jan-06 9:00 
GeneralRe: Garbage Collection In VB.Net Pin
kpr_psna9-Jan-06 21:13
kpr_psna9-Jan-06 21:13 
GeneralRe: Garbage Collection In VB.Net Pin
Colin Angus Mackay9-Jan-06 22:34
Colin Angus Mackay9-Jan-06 22:34 
As the previous poster commented the memory you see in the Task Manager is the memory that your program has "reserved". When you create forms it has to reserve more memory. When the form is closed it is freed up but the memory is still reserved, although not in use. Your application can reuse that memory if it needs it. If the operating system runs low on memory it can have applications free back to the OS the reserved but unused memory so that an application that needs it can have it.

The bottom line is: Don't worry about it - So long as you are calling Dispose on any objects that expose the IDisposable interface when you no longer need the object the memory management in a .NET application will work out fine.

ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

GeneralRe: Garbage Collection In VB.Net Pin
kpr_psna10-Jan-06 0:12
kpr_psna10-Jan-06 0:12 
GeneralRe: Garbage Collection In VB.Net Pin
Dave Kreskowiak10-Jan-06 4:14
mveDave Kreskowiak10-Jan-06 4:14 
AnswerRe: Garbage Collection In VB.Net Pin
Guffa9-Jan-06 22:32
Guffa9-Jan-06 22:32 
GeneralRe: Garbage Collection In VB.Net Pin
kpr_psna10-Jan-06 0:13
kpr_psna10-Jan-06 0:13 
AnswerRe: Garbage Collection In VB.Net Pin
Guffa10-Jan-06 7:18
Guffa10-Jan-06 7:18 
QuestionUser Defined query Pin
Landon Spann9-Jan-06 11:40
Landon Spann9-Jan-06 11:40 
AnswerRe: User Defined query Pin
Dave Kreskowiak9-Jan-06 12:23
mveDave Kreskowiak9-Jan-06 12:23 
GeneralRe: User Defined query Pin
Colin Angus Mackay9-Jan-06 21:06
Colin Angus Mackay9-Jan-06 21:06 
GeneralRe: User Defined query Pin
Dave Kreskowiak10-Jan-06 2:57
mveDave Kreskowiak10-Jan-06 2:57 
GeneralRe: User Defined query Pin
Landon Spann10-Jan-06 4:00
Landon Spann10-Jan-06 4:00 
GeneralRe: User Defined query Pin
Dave Kreskowiak10-Jan-06 11:37
mveDave Kreskowiak10-Jan-06 11:37 
GeneralRe: User Defined query Pin
Landon Spann11-Jan-06 4:01
Landon Spann11-Jan-06 4:01 
AnswerRe: User Defined query Pin
Christian Graus9-Jan-06 12:33
protectorChristian Graus9-Jan-06 12:33 
QuestionTab page issues Pin
eatwork9-Jan-06 10:04
eatwork9-Jan-06 10:04 
AnswerRe: Tab page issues Pin
Christian Graus9-Jan-06 11:56
protectorChristian Graus9-Jan-06 11:56 
GeneralRe: Tab page issues Pin
eatwork9-Jan-06 12:43
eatwork9-Jan-06 12:43 
GeneralRe: Tab page issues Pin
Christian Graus9-Jan-06 12:45
protectorChristian Graus9-Jan-06 12:45 

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.