}
//This will remove the entry from the backing map in buildstore as well. This is the operation that clears memory and prevents it from blowing up!
dataToBeRolled.remove(range);
log.info("Removed range {} from buildstore", range);
// Drain the remaining rollups
batchWriter.drainBatch();
}
} else {
try {
Thread.sleep(10000);
} catch (InterruptedException e) {