Of course, replace the size 800MB according to how much memory you want to let for /tmp.
</p>
<p> To know how much memory you have, you may use dmesg and awk : </p>
<pre>dmesg | awk '/avail mem/'</pre>
<p>
As example to create a /tmp using 10% of available RAM, the following command will output the line to copy in /etc/fstab to replace "/tmp" entry, using awk to compute the size :