Improve memory performance