Generative “AI” data centers are gobbling up trillions of dollars in capital, not to mention heating up the planet like a microwave. As a result there’s a capacity crunch on memory production, shooting the prices for RAM sky high, over 100 percent in the last few months alone. Multiple stores are tired of adjusting the prices day to day, and won’t even display them. You find out how much it costs at checkout.



Just pirate it then
I usually download my warez RAM modules from ramgirl repacks
https://en.wikipedia.org/wiki/Zram
Open-source RAM is better.
Using a RAM drive for swap?
Am I misunderstanding the point of swap?
It’s a compressed RAM drive being used as swap backing. The kernel’s already got the functionality to have multiple tiers of priority for storage; this just leverages that. Like, you have uncompressed memory, it gets exhausted and you push some out to compressed memory, that gets exhausted and you push it out to swap on NVMe or something, etc.
Kinda like RAM Doubler of yesteryear, same sort of thing.
Zram on Linux is awesome! I’ve used it heavily in both memory constrained systems and systems with 16+GB of memory running very poorly optimized code
Running for example, Cities Skylines with 40GB of mods can easily lead to running memory usage being 20-30GB uncompressed. With zram I can load that same mod load out on a 16GB laptop with no swap and it won’t crash where it would crash for being out of memory before.
Another example is Proxmox with over-provisioned lxc containers. Since it’s still the kernel scheduler running all of the processes in those containers zram can keep them all running nicely even when a heavily modded Minecraft server gets a few players online and starts pushing past memory limits, where before I set it up I’d have some of the Minecraft server processes get killed to free up memory resources without warning or proper logging by Minecraft
Edit to add: my daughter’s first laptop has only 4GB of memory and runs a decade old Celeron booting from a spinning hard drive, the definition of budget ewaste. Zram makes it so it’s CPU limited running Minecraft rather than memory limited!
I mostly get mine from https://downloadmoreram.com/