Memory foam retains more body heat than other mattress materials, causing some sleepers to become uncomfortably warm or hot during the night. This can decrease their quality of sleep and leave them feeling poorly rested when morning comes.