How can we enable, fine-tune the Linux kernels memory compression?
So if we have 1 GByte physical memory, the OS could see ex.: 1.5 GByte because of the compression (but of course it would use more CPU).
This might point you in the right direction. It tells you what to look up but not necessarily how to implement. I also believe there's a zram service you can install. Something like systemd-zram-service.