program.gc();
Force a garbage collection as soon as possible. Normally, there is no need to start the garbage collection manually; this is done automatically from time to time.
See also: Program.memory