Set mapreduce memory settings