A memory foam mattress can sleep hot if the foam is dense and lacks temperature-regulation technologies. To prevent a hot night of sleep, look for a mattress with cooling gels, graphite, copper, or charcoal. You can also use breathable bedding and wear light sleepwear.