Tweak memory settings