You don’t want swap memory with SSD’s and flash storage because it will kill it in the end.
*sigh* - this just keeps on being trotted out like gospel.
Yes, it will, but it will take YEARS - there's been plenty of experiments done here.
Even 5 years back, it took over 2 petabytes of data writes to kill an SSD - that's 2 million gigabytes of data.
Yep, not all SSD's would do that - and this was a lab test, rather than real world.
I think most SSD's are rated for about 1/2 a petabyte of writes - a cautious estimate.
So, even if the swap space ate up a combined total of 1000gb writes every day, it would be 2000 days or 5 and half years before you killed the drive with swap space alone, assuming the 2 petabytes of writes held true.
Even if it didn't and you somehow managed to write that much data a day, you would still get about a year and a half on the cautious life span estimate.
Good luck with writing 1000gb of swap space a day.
You can literally bombard that SSD with data 24/7 for years and years.
Heck, I've got 6 year old SSD drives that are good as new - still in operation.
I've used them for gaming, for graphics, for music production, for video.
They all still work just fine.
They've been wiped numerous times, had multiple operating systems slapped on them, used for boot disks - it takes a LOT to kill an SSD with data writes.
By the time you've killed an SSD drive, you will have replaced it anyway.
It's the equivalent of installing a new OS that takes up all the space on a 500gb drive 4000 times in ideal lab conditions, or 1000 times with the general write ratings given to SSD's.
Sure, this is a simple example and it is more complicated than that, but please stop trotting out this tired old rubbish about "killing an SSD with swap" - for 99% of users, the chances of killing an SSD within 5 years are pretty much nil.