Just to tinker with it, last night I installed the Android Studio/SDK, and both during install and use, it repeatedly blew my 2Gb /tmp partition. Is there any way to tell t
You can use a file for your /tmp:
as root:
create a file the desired size ((example for a 10 GiB /tmp size):
dd if=/dev/zero of=/path/to/your/tmp_dir bs=1024M count=10
create a filesystem on it:
mke2fs -j /path/to/your/tmp_dir
the partition is ready, mount it:
mount -t ext3 -o loop /path/to/your/tmp_dir /tmp
source : https://www.yourhowto.net/increase-tmp-partition-size-linux/