You only want to use zram if you've got no swap device (e.g. a raspberry pi).
If you do, you'll want zswap instead.