Memory-Based RASH Optimizer