Controlling mem and tmp dir for picard steps.