You could have at least chosen a set of filters restricted to memory that's actually compatible with the CPUs under discussion: requiring DDR5, and only supporting unbuffered DIMMS. The correct filters are: https://pcpartpicker.com/products/memory/#E=1&b=ddr5
2 x 32GB ECC UDIMM DDR5-4800 RAM is going around for ~280$ here (including a %20 VAT, so I'd assume it would be a little bit cheaper in the states). Not really unreasonable considering regular DIMMs (albeit with higher speeds like 6000) going for 400$ for the same configuration.
Not merely the modules but chipset and firmware support are required as well. Sometimes they are even incompatible so certification comes up. Put together a few cheap things and the price jumps to business levels.