Increase number of frames stored in memory before write (#748).