Skip to main content

Garbage-Collection

Command Description

Recover memory space that is no longer in use

Command Prototype

CollectGarbage()

Parameter Description

ParameterRequiredTypeDefaultDescription
NoneNoneNoneNoneNone
TracePrint("--------------------------------Garbage collection------------- ------------------------") 
//-------------------------------------------------------------------------------
//[Remarks] Reclaim memory space that is no longer used
//Input parameters:
// None
//out parameters:
// None
CollectGarbage()