private synchronized void releaseDataForAllChunks() {
    for (PutChunk chunk : putChunks) {
      if (!(chunk.isFree() || chunk.isEncrypting())) {
        logger.info("{}: Clear unfinished chunk {} {} since operation is completed", loggingContext,
            chunk.getChunkIndex(), chunk.getState());
        chunk.releaseBlobContent();
      }
    }
  }
Release the blob content of chunks, including building chunk, excluding encrypted chunks since encrypted chunks have
other thread to release the data.
ambry-router/src/main/java/com/github/ambry/router/PutOperation.java