Memory Foam and Chemicals

I recently read an article regarding the potentially dangerous side effects from the chemicals in memory foam. Is this true, or does it depend upon the brand name?