Kindly refer the memory population guidelines and the supported DIMM parts in the following document.
https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c05226549#N10013
It is always recommended to use the manufacturer recommended parts as added options to the equipment.