SWAP in itself is not a good idea as it slows down the system. Rather, you should look at what exactly is using your memory. And if this is all ok, it would be better in the long term to use a system with more physical memory.
Well, I tried htop and screencapped, not sure if this tells you something but my impression is that it’s empty that’s being something of a resource hog.
Well, sorry for repeating myself but it seems we know what the problem is and how to fix it. If this continues I’ll buy a new Raspberry Pi with more ram. Thanks for helping me out!
It would be better to use ZSwap…you will have HUGE amounts of writes/reads to the USB/SSD externally with a “swapfile”
Emby is probably chewing up the memory…do you have hardware encoding enabled…it is probably tying to keep the encoded files in /tmp (which is memory space)
A media server with only a gig of RAM is going to struggle…
And a SBC (single board computer) is going to have limited RAM available…