ENH: adding parameter to choose temp directory
DOC: updating memory benchmark