The automatic settings aren't working. A swap file is still being created no matter how much ram I add.
I made the file at /etc/zfs/zsysctl.conf, plain text with the only line being kstat.zfs.darwin.tunable.zfs_arc_max=19327352832. Rebooted and did a test copy. Afterwards--- kstat.spl.misc.spl_misc.os_mem_alloc: 23854088192
Where am I going wrong? Thanks all for your help.
Edit: I tried following the instructions at https://openzfsonosx.org/wiki/Performance to release memory.
sudo sysctl -w kstat.zfs.darwin.tunable.zfs_arc_max=<size of arc in bytes> resulted in sysctl: illegal option -- ?
sudo sysctl -w kstat.spl.misc.spl_misc.simulate_pressure=<amount of ram to release in bytes> results in sysctl: unknown oid 'kstat.spl.misc.spl_misc.simulate_pressure'
What is the arc meta limit? There is no explanation on https://openzfsonosx.org/wiki/Memory_utilization