Go to the first, previous, next, last section, table of contents.


rootCollectGarbage

Function: rootCollectGarbage { -> string-summary }
file: job.t
package: muf
status: temporary

This function does a monolithic mark-and-sweep garbage collection. The server stops until garbage collection is complete. I'd like to think that this function is a temporary kludge which will be removed in a future release.

Garbage collection is performed automatically as needed, so the usual reason to invoke this function is just to get the return value. It may occasionally make sense to invoke it if you know you just freed up a lot of storage.

The return value is a human-readable string summarizing garbage collection results.


Go to the first, previous, next, last section, table of contents.