> What is the frequency the garbage collector to clear the non-referenced
> memory?
> eg. every minute?
There's no set frequency. It collects garbage when it needs to due to
"memory pressure".
Scott M. - 15 Dec 2007 18:10 GMT
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
>> What is the frequency the garbage collector to clear the non-referenced
>> memory?
>> eg. every minute?
>
> There's no set frequency. It collects garbage when it needs to due to
> "memory pressure".