next up previous contents
Next: help Up: System Functions and Variables Previous: Get Process Identification

Garbage Collection

Calling Sequences:
gc()

Returns: void

Synopsis: This function forces Darwin to immediately coalesce all allocated but not in use memory. Unless the system variable printgc is set to false, this function prints the current number of bytes allocated and the total CPU time used so far.

Examples:

> gc();




Gaston Gonnet
1998-09-15