A Alan T Dec 14, 2007 #1 What is the frequency the garbage collector to clear the non-referenced memory? eg. every minute?
P Peter Duniho Dec 14, 2007 #2 What is the frequency the garbage collector to clear the non-referenced memory? eg. every minute? Click to expand... There's no set frequency. It collects garbage when it needs to due to "memory pressure".
What is the frequency the garbage collector to clear the non-referenced memory? eg. every minute? Click to expand... There's no set frequency. It collects garbage when it needs to due to "memory pressure".
S Scott M. Dec 15, 2007 #3 And if there isn't sufficient memory pressure, then no collection takes place. This means that de-referenced objects could remain in memory for extended periods, which is why calling Dispose on objects that use unmanaged resources is so important. -Scott
And if there isn't sufficient memory pressure, then no collection takes place. This means that de-referenced objects could remain in memory for extended periods, which is why calling Dispose on objects that use unmanaged resources is so important. -Scott