Tweak some memory flags.