Hacker News new | ask | show | jobs
by nbernard 1517 days ago
Swapping on the SD card is a nightmare. I found out that disabling the swap actually leads to a better experience, even if it means that firefox gets killed from time to time.

[This comment was written on a rpi4, btw.]

1 comments

Would swap on zram work? I've used that to help with low-memory situations, but I'm not sure if the Pi's CPU is fast enough to avoid it being a different bottleneck.
It does work, and it's how I ran the same pi when it was a host to a particularly bloated java app prone to exceeding its -Xmx.