256MB RAM.
well, first thing is you definitelly want to get rid of CPU hungry programs.
Second, ramdisk only takes as much data as it contains rather than what it is allowed to take. Why not give it like 90% and set swappines to, say, 10-20 instead of default 50? It's a guess rather than a silver bullet, but lower swappines will keep more data in uncompressed RAM, while non-zero value should still push it out to ZRAM before you atualy run out of space.
As you consume more and more RAM, more and more of it will go to ZRAM growing your SWAP (and reducing available RAM pushing more data out to ZRAM) in turn degrading performance, possibly slowing you to crawl. Give it a try and look at behaviour
On the bright side, under "typical" desktop workload CPU is doing nothing most of te time and decompression is signifficantly faster than compression, so if you use some data that doesn't change frequently it can stay in swap for a long time with little impact on performance.