Hi Thirteentimes1,
Maybe your problem is solved but i have a great cooler where the height of the ram can be unlimited,
I personally use the fortis 3 rgb, I love it. It is cheap and very good. Even better than some of the double priced options out there. There is also a non rgb version.
It comes with good thermal paste and keeps my Ryzen 5 3600 under 60 degrees even under full load, it also is very silent then. I would highly recommend it. In my counrty it is cheaper than the Freezer eSports DUO CPU and in my mind it is better.
Here is a link for it:
https://www.silentiumpc.com/en/product/fortis-3-rgb-he1425/
And i checked and the cooler works with your cpu(Socket AM4)