Use less aggressive garbage collection

For me it fixes #3044.