A cooler for a memory module includes heat plates on the sides of the memory module and heat fins extending from the top of the heat plates. The heat fins are optimized according to simulated or actual airflow about the memory module inside an enclosure. The heat fins may curve diagonally outward from the memory module and their free ends may be arranged substantially parallel to the airflow so air flows over their larger lateral surfaces down to the memory module.