Click here to Skip to main content
15,913,941 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: IP address from TCPClient Pin
Dave Kreskowiak20-Mar-06 19:03
mveDave Kreskowiak20-Mar-06 19:03 
Questiontry/catch block usage Pin
spoodygoon20-Mar-06 11:42
spoodygoon20-Mar-06 11:42 
AnswerRe: try/catch block usage Pin
Steve Pullan20-Mar-06 12:22
Steve Pullan20-Mar-06 12:22 
AnswerRe: try/catch block usage Pin
HimaBindu Vejella20-Mar-06 18:41
HimaBindu Vejella20-Mar-06 18:41 
QuestionModem/Adsl status Pin
FeRtoll20-Mar-06 11:24
FeRtoll20-Mar-06 11:24 
QuestionMemory issue Pin
luciodandrea20-Mar-06 6:49
luciodandrea20-Mar-06 6:49 
AnswerRe: Memory issue Pin
CWIZO20-Mar-06 7:49
CWIZO20-Mar-06 7:49 
AnswerRe: Memory issue Pin
Dave Kreskowiak20-Mar-06 9:37
mveDave Kreskowiak20-Mar-06 9:37 
You shouldn't be using TaskManager to see how much memory your app uses. TaskManager will show you the total size of the entire .NET CLR Virtual Machine that your code is running in, not the actual memory used by your code.

If you want accurate numbers, you'll have to use Performance Monitor and the .NET CLR Memory counters.

TaskManager is showing how much memory is being used by the CLR, including all the memory that is "reserved" for future use by code running inside it. The CLR allocates more memory than is needed so future object allocations by your code will be serviced faster. Without this, your code would have to wait until the CLR grabbed a block of memory from Windows, added it to the Managed Heap, then allocated your object. Since the memory is already in the Managed Heap, there allocation get processed much quicker.

So, is this memory "permanently" allocated to the CLR?? No! If Windows needs some memory returned to it, the CLR is smart enough to free up what it has in reserve and return however much memory Windows needs.

If you want to know about the in's and out's of Managed Memory and Garbage Collection, read this[^].


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

GeneralRe: Memory issue Pin
luciodandrea21-Mar-06 3:06
luciodandrea21-Mar-06 3:06 
Questionclick button bold Pin
zabsmarty20-Mar-06 5:56
zabsmarty20-Mar-06 5:56 
AnswerRe: click button bold Pin
Roy Heil20-Mar-06 6:34
professionalRoy Heil20-Mar-06 6:34 
Questionidea for new IDE Pin
zabsmarty20-Mar-06 5:54
zabsmarty20-Mar-06 5:54 
AnswerRe: idea for new IDE Pin
CWIZO20-Mar-06 6:49
CWIZO20-Mar-06 6:49 
AnswerRe: idea for new IDE Pin
Guerven20-Mar-06 17:32
Guerven20-Mar-06 17:32 
AnswerRe: idea for new IDE Pin
Christian Graus20-Mar-06 17:42
protectorChristian Graus20-Mar-06 17:42 
GeneralRe: idea for new IDE Pin
Paul Conrad25-Mar-06 14:49
professionalPaul Conrad25-Mar-06 14:49 
Questionprogrammatically create a csv file????? Pin
scottstarbuck20-Mar-06 5:03
scottstarbuck20-Mar-06 5:03 
AnswerRe: programmatically create a csv file????? Pin
Dave Kreskowiak20-Mar-06 9:43
mveDave Kreskowiak20-Mar-06 9:43 
GeneralRe: programmatically create a csv file????? Pin
scottstarbuck20-Mar-06 10:44
scottstarbuck20-Mar-06 10:44 
QuestionRich Text Box Pin
ADY00720-Mar-06 5:00
ADY00720-Mar-06 5:00 
AnswerRe: Rich Text Box Pin
Dave Kreskowiak20-Mar-06 9:46
mveDave Kreskowiak20-Mar-06 9:46 
Questioncrystalreport Pin
binumarar20-Mar-06 2:46
binumarar20-Mar-06 2:46 
AnswerRe: crystalreport Pin
albCode20-Mar-06 3:42
albCode20-Mar-06 3:42 
AnswerRe: crystalreport Pin
Vikrant Badhai28-Mar-06 21:15
Vikrant Badhai28-Mar-06 21:15 
Questionhow can i access any device in the network Pin
Piyush Kala20-Mar-06 2:08
Piyush Kala20-Mar-06 2:08 

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.