Click here to Skip to main content
15,892,298 members
Home / Discussions / C#
   

C#

 
AnswerRe: Ping in wireless network Pin
MrEyes9-May-07 7:33
MrEyes9-May-07 7:33 
AnswerRe: Ping in wireless network Pin
Dave Kreskowiak9-May-07 7:51
mveDave Kreskowiak9-May-07 7:51 
QuestionManaging Memory and Resources [modified] Pin
MrEyes9-May-07 7:22
MrEyes9-May-07 7:22 
AnswerRe: Managing Memory and Resources Pin
Luc Pattyn9-May-07 7:43
sitebuilderLuc Pattyn9-May-07 7:43 
GeneralRe: Managing Memory and Resources Pin
MrEyes9-May-07 7:50
MrEyes9-May-07 7:50 
GeneralRe: Managing Memory and Resources Pin
Judah Gabriel Himango9-May-07 12:41
sponsorJudah Gabriel Himango9-May-07 12:41 
GeneralRe: Managing Memory and Resources Pin
MrEyes9-May-07 22:51
MrEyes9-May-07 22:51 
GeneralRe: Managing Memory and Resources Pin
Scott Dorman9-May-07 13:01
professionalScott Dorman9-May-07 13:01 
MrEyes wrote:
After doing a little research on GC collect I have come to the same conclusion as the one you posted, hence the idea of using it doesnt really sit very comfortably with me.


As Luc pointed out, you really should not be calling GC.Collect yourself. The issue here is that every time the GC starts a collection cycle, it actually freezes the main thread of your application so it can determine which objects are still being referenced. By calling GC.Collect yourself and forcing a collection cycle, you are increasing the amount of time your application will spend in garbage collection, thereby ultimately decreasing your performance.

-----------------------------
In just two days, tomorrow will be yesterday.

AnswerRe: Managing Memory and Resources Pin
Scott Dorman9-May-07 13:08
professionalScott Dorman9-May-07 13:08 
GeneralRe: Managing Memory and Resources Pin
MrEyes9-May-07 22:53
MrEyes9-May-07 22:53 
QuestionValue From A Cell Pin
BlitzPackage9-May-07 6:09
BlitzPackage9-May-07 6:09 
AnswerRe: Value From A Cell Pin
Nouman Bhatti9-May-07 20:24
Nouman Bhatti9-May-07 20:24 
QuestionEditing list thru the Enumerator Pin
LCI9-May-07 6:00
LCI9-May-07 6:00 
AnswerRe: Editing list thru the Enumerator Pin
Tarakeshwar Reddy9-May-07 6:19
professionalTarakeshwar Reddy9-May-07 6:19 
GeneralRe: Editing list thru the Enumerator Pin
LCI9-May-07 6:39
LCI9-May-07 6:39 
GeneralRe: Editing list thru the Enumerator Pin
Tarakeshwar Reddy9-May-07 6:54
professionalTarakeshwar Reddy9-May-07 6:54 
GeneralRe: Editing list thru the Enumerator Pin
Patrick Etc.9-May-07 10:47
Patrick Etc.9-May-07 10:47 
Questionanimated image Pin
sujithkumarsl9-May-07 5:32
sujithkumarsl9-May-07 5:32 
AnswerRe: animated image Pin
Tarakeshwar Reddy9-May-07 5:46
professionalTarakeshwar Reddy9-May-07 5:46 
GeneralRe: animated image Pin
sujithkumarsl9-May-07 19:07
sujithkumarsl9-May-07 19:07 
QuestionActiveDirectory Entries and C# Pin
ccitt9-May-07 5:25
ccitt9-May-07 5:25 
QuestionRemoting Pin
Diego F.9-May-07 5:18
Diego F.9-May-07 5:18 
QuestionExplorer, "Open with..." multiple files Pin
AlexZieg719-May-07 5:06
AlexZieg719-May-07 5:06 
AnswerRe: Explorer, "Open with..." multiple files Pin
AlexZieg719-May-07 7:22
AlexZieg719-May-07 7:22 
AnswerRe: Explorer, "Open with..." multiple files Pin
Luc Pattyn9-May-07 7:50
sitebuilderLuc Pattyn9-May-07 7:50 

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.