I am using Fedora 26 and have some troubles with /tmp on tmpfs. By default Fedora sets the /tmp size to a half of RAM size. In my case it is 4/2=2GB. But I noticed this causes faults during some software updates which need to unzip large distribution files.
I have set the /tmp size to 4GB and it solves the problem but I am not sure that was the right strategy, because it is looking stupid to fulfill the unzip task in the single step using all the RAM available and crash when reaching the limit.