Use less aggressive garbage collection. Fixes GH-3044.
Merge pull request #3045 from kmike/less-gc-collect

Use less aggressive garbage collection