Severe obstructive sleep apnea is linked to an increase of the amyloid beta protein, resulting in a greater risk of sufferers developing dementia.