I think you should be fine with 64GB (4x16GB ECC), I have 8x10TB RAID-Z2 and it uses around 34GB.

I believe the default is that ZFS uses 50% of your RAM for caching