This post is older than a year. Consider some information might not be accurate anymore.
To migrate your
/tmp directory into RAM storage you can alter the
tmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777,size=512M 0 0
The usable size is limited to 512 MB. After the reboot the changes are applied.