gc
gc — runs the garbage collector.
gc ()
none
The number of cells freed by the garbage collector.
Causes the garbage collector to run if possible. The garbage collector will not run during a timer or signal handler, but it will flag the need for garbage collection, causing the garbage collector to run immediately after the timer or signal handler exits.
Gamma>gc();68Gamma>gc();17Gamma>fp = open("myfile.dat", "r", nil);#<File:"myfile.dat">Gamma>close(fp);tGamma>gc();67Gamma>gc();17Gamma>