collectAllGarbage

From GTA Connected
(Redirected from CollectAllGarbage)
Jump to navigation Jump to search

Function Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0, Client 1.0.0

void collectAllGarbage(void)

The collectAllGarbage function is used to make all resources free all data which is no longer needed, to free memory.

Parameters

void This function doesn't take any parameters.

Return

void This function doesn't return a value.

Notes

  • This function exists for debugging purposes and for if a long operation is happening. It already gets invoked if a resource stops/starts/restarts. Normally you should allow the memory to be freed by GTAC internally, so this function shouldn't be used in public/production servers.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Server Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png collectAllGarbage


Client Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png collectAllGarbage