ForeGC.RequestFullClean

Syntax

RequestFullClean([MaxDuration: Integer = -1]);

Parameters

MaxDuration. Garbage collection time in seconds.

Description

The RequestFullClean method starts a full cycle of garbage collection.

Comments

The method is identical to the IForeGarbageCollector.RequestFullClean method and works on the same principle.

Example

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:

ForeGC