It depends primarily on the sort of rams you're using. If you go for low profile ram
or
taller heatsinked ram modules
You're fine but the added advantage you have with the cooler is the ability to place the fans with the bundled fan attachment clips to eh cooler at a height of your choosing so as to hover above the ram's tallest point/apex.