Hi, can you help me? What can I change to stop the memory from overheating?

I should mention that I have a SFF case, there's no way to install fans, and I don't game on my computer, just work.

I tried lowering the tREFI to 50k, but it didn't help. The memory has been working 100% stably for several months. However, when I close the case, it starts throwing errors in stress tests when it exceeds 55 degrees Celsius. With the case open, it stays below 50 degrees Celsius and there are no errors.