Depending on the COMPUTER CASE cooler height spec you may be able to move the FAN up a bit (see picture in link), but otherwise the max DDR4 height should be 32mm
http://noctua.at/en/nh-d15.html
With fan it's already 165mm, so if your cooler height the CASE allows was 170mm (see case site) your memory height must be LESS than 37mm.
You need to look up the memory height yourself, for the EXACT model you plan to get.