According to Wikipidia the Memory Foam mattrresses where developed for NASA in early 1966 in order to improve the safety of air craft cushions. On the market they got a little bit later, on 1990. They where used as a topper and later as a memory foam mattress.