Correct ZFS by default uses 50% of your system RAM.
Rule of thumb is you need 1GB RAM for every 1TB storage.
You can set limits on how much ZFS is allowed to use by visiting:
https://pve.proxmox.com/wiki/ZFS_on_Linux
Find on the page the section defined as: Limit ZFS Memory Usage