cache flushing for preventing memory leakage in SOR