Improved performance on WAL restore if RAM is available