I am running a Jetson Nano with Jetpack 4.4 which (Ubuntu 18.04), by default, has 4x495 Meg ZRAM partitions for swap space. The problem is that for a data science project I need MORE RAM than the 4gig installed on the Jetson (and whatever I get from compressed ZRAM - not much). So I'd like to make an 8gb swap file instead of the ZRAM swap.
How do I disable the ZRAM swap altogether so that I can create a swap file?
I've tried
sudo apt remove --purge zram-config
sudo dpkg --purge zrawmswap-enabler
sudo dpkg --purge zram-config
sudo service zramswap stop
But none of it works. ZRAM swap is still enabled on reboot:
Alternatively can I just create a disk swap file and expect it to replace ZRAM?