Click here to Skip to main content
15,891,316 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Get Domain Name Pin
Dave Kreskowiak21-Oct-05 1:47
mveDave Kreskowiak21-Oct-05 1:47 
GeneralRe: Get Domain Name Pin
japel21-Oct-05 1:56
japel21-Oct-05 1:56 
GeneralRe: Get Domain Name Pin
Dave Kreskowiak21-Oct-05 5:15
mveDave Kreskowiak21-Oct-05 5:15 
GeneralRe: Get Domain Name Pin
japel21-Oct-05 16:18
japel21-Oct-05 16:18 
GeneralRe: Get Domain Name Pin
Dave Kreskowiak23-Oct-05 6:17
mveDave Kreskowiak23-Oct-05 6:17 
GeneralRe: Get Domain Name Pin
japel23-Oct-05 22:52
japel23-Oct-05 22:52 
QuestionMemory-leak problem Pin
qiyue21-Oct-05 0:56
qiyue21-Oct-05 0:56 
AnswerRe: Memory-leak problem Pin
Dave Kreskowiak21-Oct-05 1:30
mveDave Kreskowiak21-Oct-05 1:30 
You're looking in the wrong place to see what memory is being used by your application. In Task Manager, you're seeing what memory has been RESERVED for the entire .NET Framework and it's virtual machine that runs your application, otherwise known as the CLR (Common Language Runtime). Some of this memory is not permanently allocated to your "application", but is reserved for future use. This means that if Windows wants some of that memory back, the .NET CLR Memory Manager will release whatever Windows wants back to the system.

The .NET CLR Memory Manager keeps the memory reserved for performance reasons. Since you've used a large chunk of memory before, you might need it again, so the Manager hangs on to it, even though your application hasn't allocated it again. Since it's a little time consuming to allocate memory from the system (adding it to the .NET managed memory heap), then allocate your managed object on that heap, the .NET Memory Manager will try to skip the first step, if at all possible, by reserving memory for future use.

If Windows needs the memory back for something else, the .NET CLR Memory Manager is more than happy to free up whatever Windows needs. If you want to see the real memory counters, open up Performance Monitor and use the memory counters under the .NET CLR Memory performance object.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

Questioncopy vb.net(exe) application to spacIfic folder Pin
Amr M. K.20-Oct-05 23:05
Amr M. K.20-Oct-05 23:05 
AnswerRe: copy vb.net(exe) application to spacIfic folder Pin
Dave Kreskowiak21-Oct-05 1:46
mveDave Kreskowiak21-Oct-05 1:46 
General[Message Deleted] Pin
Amr M. K.21-Oct-05 3:01
Amr M. K.21-Oct-05 3:01 
GeneralRe: (how to get path of ur .EXE programme at run time Pin
Dave Kreskowiak21-Oct-05 5:18
mveDave Kreskowiak21-Oct-05 5:18 
GeneralRe: (how to get path of ur .EXE programme at run time Pin
Amr M. K.21-Oct-05 7:59
Amr M. K.21-Oct-05 7:59 
Questionclick and double click problem on datagrid winform Pin
andreapv20-Oct-05 22:18
andreapv20-Oct-05 22:18 
QuestionUnable to Close Excell App Pin
Tiger45620-Oct-05 22:03
Tiger45620-Oct-05 22:03 
AnswerRe: Unable to Close Excell App Pin
S Douglas25-Oct-05 0:34
professionalS Douglas25-Oct-05 0:34 
QuestionEncryption Pin
Member 64225420-Oct-05 21:49
Member 64225420-Oct-05 21:49 
QuestionWeb Proxy Pin
Praveen Reddy Bobbili20-Oct-05 19:39
Praveen Reddy Bobbili20-Oct-05 19:39 
AnswerRe: Web Proxy Pin
Syed J Hashmi22-Jul-06 14:03
Syed J Hashmi22-Jul-06 14:03 
QuestionTree view Pin
lituparitosh20-Oct-05 18:55
lituparitosh20-Oct-05 18:55 
AnswerRe: Tree view Pin
DanChin23-Oct-05 3:29
DanChin23-Oct-05 3:29 
QuestionUrgent :Send Fax Automatically Without FAx Dialouge Box Pin
shashank veerkar20-Oct-05 18:13
shashank veerkar20-Oct-05 18:13 
QuestionDirectly print the form Pin
himanshu_softin20-Oct-05 16:04
himanshu_softin20-Oct-05 16:04 
QuestionVB.NET text to XML to Access Database Pin
vb_n00b20-Oct-05 15:17
sussvb_n00b20-Oct-05 15:17 
AnswerRe: VB.NET text to XML to Access Database Pin
Desert_Dude20-Oct-05 15:27
Desert_Dude20-Oct-05 15:27 

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.