I have GAD and a bit of OCD.  I'm still learning about it all since I just discovered all of this within the past 2 years after suffering for a loong time, thinking it was normal. Yesterday, I experienced a new symptom (?)

In the middle of writing a paper (literally mid-sentence), I had a flashback to a dream which triggered a bombardment of weird thoughts and memories that I think were from dreams, although I can't remember exactly. Almost immediately, I found it difficult to decipher what was real and what wasn't and I couldn't think straight. Forgot a thought .2 seconds after having it and I mean COMPLETELY forgot. I legitimately felt like I was losing my mind. I started pacing around my room and ended up in a ball in my bed, taking deep audible breaths. 

Once I walked to another room and managed to slow my breathing a bit, I slowly 'regained' control of my thoughts, but it really did take a minute or two. I quick tried to jot down on sticky notes what just happened, because it felt just like waking up from a strange dream with the memory fading more and more with every passing second. Right after I finished scribbling notes, I reread what I wrote and I didn't recognize it; it felt like someone else wrote it. The whole ordeal lasted less than 5 minutes. 

I've never experienced anything like this, has anyone else? or does anyone have any insight on what that was or if it's just another symptom of anxiety?