REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 4-Aug-2010 Edit History  

REBOL 3 Functions: recycle

recycle  /off  /on  /ballast  size  /torture

Recycles unused memory.


/off - Disable auto-recycling

/on - Enable auto-recycling

/ballast - Trigger for auto-recycle (memory used)

size [integer!]

/torture - Constant recycle (for internal debugging)


This function will force a garbage collection of unused words and values found in memory. This function is not required or recommened for most scripts because the system does it automatically as necessary.

To disable garbage collection, you can specify /off refinement.


To enable it again, use /on:


Note that recently used values may not be immediately garbage collected, even though they are no longer being referenced by your program.

  TOC < Back Next > - WIP Wiki Feedback Admin