Both! Really nice doggie ortho beds come with a layer of egg crate foam AND memory foam. The memory foam will compress causing the dog's body to sink the the floor anyway. The egg crate foam won't compress as much and provides support for the memory foam. When used in conjunction with each other, you get very good support and you don't have the heat issue with the foam.
I bought both my crate pads at Petco. The blue one is newer and is memory foam. The brown one is the egg crate foam. Since taking this picture, I've reversed them so the egg crate foam pad is on top. She REALLY likes them now.
RATCHX3 High Jinks vom Neuanfang - Gotchya Day: 1/23/2013 DN, SG, SR, CA
Inspire Spark to Ignition! (Ignite) Gotchya Day: 10/8/2016
C-ATCH Pimg - RATO, UJJ (x2), DJX, HIT, CA, CGC, High in Games, Reserve High in Standard- CPE Nationals 2014