GarbageCollection()

GarbageCollection() cleans up the dynamically managed memory. All the deleted memoryblocks (also strings and objects based on memoryblocks) are removed.

Syntax: GarbageCollection()

By default, the dynamically managed memory is automatically cleaned during the processing. But the automatic cleanup can be disabled by the pragma MemoryBlocksGarbageCollection This may be necessary in order to obtain faster processing in certain parts of the program, because during processing with strings or memoryblocks no automatic cleanup is started. Here it is then necessary to be able to control the cleanup manually. If automatic cleaning is enabled (default), then the call to this function is useless.