Don't save when batchSize is 0