Alleviate memory pressure in mergeNewSamples

There are probably more radical changes we can make if it still shows up at the top of the profiler.