virtual void ScheduleGC(unsigned gcFlags = GCF_Full) = 0;
ScheduleGC schedules garbage collection. Unlike ForceCollectGarbage it doesn't execute collection immediately; instead, it will be executed when next Advance is called.
Parameters |
Description |
unsigned gcFlags = GCF_Full |
'gcFlags' parameter allows to control the speed of GC. GCF_Quick is fastest but less memory is recovered, whereas GCF_Full is slowest but all possible memory is recovered. |