Added garbage-collection settings and a console command to manually collect garbage