Hi
for running garbage collector
system.gc(); method is there.

regards,
vardhan.