Ralph L
May 15th, 2018, 12:51 AM
I am trying to understand if I should use a swap partition or a swap file, when installing Xubuntu 18.04. In the past I have always used a swap partition. One of the reasons I used a swap partition is because I have multiple OS partitions--one for xubuntu 16.04, one for xubuntu 17.04, one for xubuntu 18.04, one for kubuntu 18.04, etc. I also have a data partition that can be accessed from any OS partition. To save disk space I have always used the same swap partition for all these different 0Ss. I always made it twice the size of my RAM so now I have an 8GB swap partition.
Now when I install xubuntu 18.04, it came up with a swap file of 507.4MB. That's a lot smaller than 8GB. I have a number of questions:
1. Is that large enough?
2. Will that swap file increase in size if more space is necessary?
3. If I fill the disk so that the swap file can't grow, will the system hang, or does it have a graceful solution and keep running.
4. I am short of mass memory space (SSD), so I don't want to waste any.
Please tell me the pros and cons of swap partitions vs swap file. And also tell me how I can change from swap partition to swap file, and vice versa.
Any help much appreciated......
Now when I install xubuntu 18.04, it came up with a swap file of 507.4MB. That's a lot smaller than 8GB. I have a number of questions:
1. Is that large enough?
2. Will that swap file increase in size if more space is necessary?
3. If I fill the disk so that the swap file can't grow, will the system hang, or does it have a graceful solution and keep running.
4. I am short of mass memory space (SSD), so I don't want to waste any.
Please tell me the pros and cons of swap partitions vs swap file. And also tell me how I can change from swap partition to swap file, and vice versa.
Any help much appreciated......