A guide to less shitty memory