tweak memory settings