A5: memory limit and tempdir prefix