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

C#

 
GeneralRe: COM interop question Pin
Dave Kreskowiak9-Jun-05 16:08
mveDave Kreskowiak9-Jun-05 16:08 
GeneralRe: COM interop question Pin
Christian Graus9-Jun-05 16:15
protectorChristian Graus9-Jun-05 16:15 
GeneralGC Pin
devin1239-Jun-05 12:48
devin1239-Jun-05 12:48 
GeneralRe: GC Pin
Christian Graus9-Jun-05 13:01
protectorChristian Graus9-Jun-05 13:01 
GeneralRe: GC Pin
devin1239-Jun-05 13:06
devin1239-Jun-05 13:06 
GeneralRe: GC Pin
Christian Graus9-Jun-05 13:10
protectorChristian Graus9-Jun-05 13:10 
GeneralRe: GC Pin
devin1239-Jun-05 13:19
devin1239-Jun-05 13:19 
GeneralRe: GC Pin
Dave Kreskowiak9-Jun-05 14:46
mveDave Kreskowiak9-Jun-05 14:46 
The GC runs on it's own internally managed schedule, not necessarily only when memory starts to run low. Other factors also influence when the GC occurs. If you release lots of small objects all over the managed heap, the GC will run earlier than scheduled so it can compact the memory to make room for larger objects and/or prevent memory fragmentation. This is only one small sample of how the GC manages memory collection.

If you really want to learn the in's and out's about how the Framework manages memory, object creation/destruction, object lifetimes, how unmanged memory fits into scheme of managed memory, ..., check out this[^] article index on MSDN.


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

GeneralRe: GC Pin
PaleyX10-Jun-05 14:43
PaleyX10-Jun-05 14:43 
GeneralRe: GC Pin
PaleyX10-Jun-05 14:48
PaleyX10-Jun-05 14:48 
GeneralNULL Pin
devin1239-Jun-05 12:28
devin1239-Jun-05 12:28 
GeneralRe: NULL Pin
Christian Graus9-Jun-05 12:32
protectorChristian Graus9-Jun-05 12:32 
GeneralRe: NULL Pin
devin1239-Jun-05 12:40
devin1239-Jun-05 12:40 
GeneralRe: NULL Pin
Christian Graus9-Jun-05 12:44
protectorChristian Graus9-Jun-05 12:44 
GeneralRe: NULL Pin
devin1239-Jun-05 12:52
devin1239-Jun-05 12:52 
GeneralRe: NULL Pin
Christian Graus9-Jun-05 12:58
protectorChristian Graus9-Jun-05 12:58 
GeneralRe: NULL Pin
devin1239-Jun-05 13:17
devin1239-Jun-05 13:17 
GeneralRe: NULL Pin
Christian Graus9-Jun-05 13:20
protectorChristian Graus9-Jun-05 13:20 
GeneralRe: NULL Pin
devin1239-Jun-05 13:32
devin1239-Jun-05 13:32 
GeneralRe: NULL Pin
Christian Graus9-Jun-05 13:52
protectorChristian Graus9-Jun-05 13:52 
GeneralRe: NULL Pin
devin1239-Jun-05 13:54
devin1239-Jun-05 13:54 
GeneralRe: NULL Pin
Skynyrd10-Jun-05 0:18
Skynyrd10-Jun-05 0:18 
GeneralRe: NULL Pin
Roger Alsing10-Jun-05 3:09
Roger Alsing10-Jun-05 3:09 
GeneralConvert C++ #define directives to C# Pin
bynaryum9-Jun-05 11:09
bynaryum9-Jun-05 11:09 
GeneralRe: Convert C++ #define directives to C# Pin
Colin Angus Mackay9-Jun-05 12:10
Colin Angus Mackay9-Jun-05 12:10 

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.