IForeGarbageCollector.RequestPartitialClean

Syntax

RequestPartitialClean;

Description

The RequestPartitialClean method starts one iteration of garbage collection.

Comments

During one iteration of garbage collection, the memory is cleaned of the objects that are already explicitly marked as non-used and do no depend on other objects.

Example

Add a link to the Fore system assembly.

Sub UserProc;
Var
    GC: IForeGarbageCollector;
Begin
    GC := New ForeGarbageCollector.Create;
    GC.RequestPartitialClean;   
End Sub UserProc;

Executing the example starts one iteration of garbage collection.

See also:

IForeGarbageCollector