Click here to Skip to main content
15,894,362 members
Home / Discussions / C#
   

C#

 
GeneralRe: Replace two table's items with eachother in SQL Pin
teknolog12316-Mar-10 23:55
teknolog12316-Mar-10 23:55 
AnswerRe: Replace two table's items with eachother in SQL Pin
Dan Mos16-Mar-10 15:03
Dan Mos16-Mar-10 15:03 
GeneralRe: Replace two table's items with eachother in SQL Pin
teknolog12317-Mar-10 2:35
teknolog12317-Mar-10 2:35 
GeneralRe: Replace two table's items with eachother in SQL Pin
Dan Mos21-Mar-10 5:26
Dan Mos21-Mar-10 5:26 
GeneralRe: Replace two table's items with eachother in SQL Pin
teknolog12322-Mar-10 2:46
teknolog12322-Mar-10 2:46 
QuestionWhy it doesn't eat SYSTEM MEMORY???? Pin
Nick Reshetinsky16-Mar-10 7:00
Nick Reshetinsky16-Mar-10 7:00 
AnswerRe: Why it doesn't eat SYSTEM MEMORY???? Pin
OriginalGriff16-Mar-10 7:23
mveOriginalGriff16-Mar-10 7:23 
AnswerRe: Why it doesn't eat SYSTEM MEMORY???? Pin
Luc Pattyn16-Mar-10 7:25
sitebuilderLuc Pattyn16-Mar-10 7:25 
When a new object is to be created and there is insufficient free memory inside your .NET app, the GC will try and free some, and when that were to fail, it would ask Windows for more memory. Every time the GC runs, it blocks your app, so it isn't really correct it is fast, all it does is steal the CPU to do its job. Which in most situations is quite all right.

What I tend to do in larger applications is have a Windows.Forms.Timer periodically send some statistical information to a Label, one useful item is Environment.WorkingSet (which I reduce by 1024*1024 to get it in megabytes). That often tells me how well the GC is doing, and gives me some clue when I am keeping on to too many objects (by accident).

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.

AnswerRe: Why it doesn't eat SYSTEM MEMORY???? Pin
Dave Kreskowiak16-Mar-10 8:06
mveDave Kreskowiak16-Mar-10 8:06 
AnswerRe: Why it doesn't eat SYSTEM MEMORY???? Pin
AspDotNetDev16-Mar-10 9:17
protectorAspDotNetDev16-Mar-10 9:17 
GeneralRe: Why it doesn't eat SYSTEM MEMORY???? Pin
Luc Pattyn16-Mar-10 9:23
sitebuilderLuc Pattyn16-Mar-10 9:23 
GeneralRe: Why it doesn't eat SYSTEM MEMORY???? Pin
AspDotNetDev16-Mar-10 10:17
protectorAspDotNetDev16-Mar-10 10:17 
GeneralRe: Why it doesn't eat SYSTEM MEMORY???? Pin
Luc Pattyn16-Mar-10 10:27
sitebuilderLuc Pattyn16-Mar-10 10:27 
GeneralRe: Why it doesn't eat SYSTEM MEMORY???? Pin
AspDotNetDev16-Mar-10 11:29
protectorAspDotNetDev16-Mar-10 11:29 
GeneralRe: Why it doesn't eat SYSTEM MEMORY???? Pin
Luc Pattyn16-Mar-10 11:38
sitebuilderLuc Pattyn16-Mar-10 11:38 
Questionc# picture grid and pixel Pin
antrock10116-Mar-10 6:32
antrock10116-Mar-10 6:32 
AnswerRe: c# picture grid and pixel Pin
Luc Pattyn16-Mar-10 6:44
sitebuilderLuc Pattyn16-Mar-10 6:44 
GeneralRe: c# picture grid and pixel Pin
antrock10116-Mar-10 7:45
antrock10116-Mar-10 7:45 
GeneralRe: c# picture grid and pixel Pin
Luc Pattyn16-Mar-10 7:52
sitebuilderLuc Pattyn16-Mar-10 7:52 
GeneralRe: c# picture grid and pixel Pin
antrock10116-Mar-10 11:52
antrock10116-Mar-10 11:52 
GeneralRe: c# picture grid and pixel Pin
Luc Pattyn16-Mar-10 12:06
sitebuilderLuc Pattyn16-Mar-10 12:06 
AnswerRe: c# picture grid and pixel Pin
Keith Barrow16-Mar-10 6:47
professionalKeith Barrow16-Mar-10 6:47 
Question[SOLVED] Is reference comparison atomic? Pin
blackblizzard16-Mar-10 4:34
blackblizzard16-Mar-10 4:34 
AnswerRe: Is reference comparison atomic? Pin
Daniel Grunwald16-Mar-10 4:54
Daniel Grunwald16-Mar-10 4:54 
GeneralRe: Is reference comparison atomic? Pin
blackblizzard16-Mar-10 5:00
blackblizzard16-Mar-10 5:00 

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.