Batch operation could pause and resume in order to limit the memory usage