Tweaked memory settings for sorting.