Trim in-memory log more rarely