You must provision hosts with memory according to the maximum number of devices and disk groups that you intend to map to vSAN.

To satisfy the case of the maximum number of devices and disk groups, you must provision hosts with 32 GB of memory for system operations. For information about the maximum device configuration, see the vSphere Configuration Maximums documentation.