RequestFullClean([MaxDuration: Integer = -1]);
MaxDuration. Garbage collection time in seconds.
The RequestFullClean method starts a full cycle of garbage collection.
The method is identical to the IForeGarbageCollector.RequestFullClean method and works on the same principle.
Add a link to the Fore system assembly.
Sub UserProc;
Begin
ForeGC.RequestFullClean(1);
End Sub UserProc;
Executing the example starts a full cycle of garbage collection. Garbage collection will last one second.
See also: