Only writing this because I didn't find anyone else referencing it, but I'd also check for some sort of a deficiency. It turns out that I was severely vitamin D deficient, as soon as I started taking it daily all my long-term health problems (including mental fog and memory issues) pretty much disappeared.