Lets stay on track so the original poster can get some help. We can suggest what we think someone is suffering, however, we of course are just guessing as we don't know someone's complete medical history or examine them/study them to really know. But we can share our own experience that may be really helpful. Thanks!
Brain fog is the best term to describe your "blackouts." I also am waaaaaay to young to forget why I walked downstairs by the time I get downstairs. It is definitely related because I have the same fogginess, same denying I have done something, same losing stuff, same forgetfulness, and same autopilot description all due to my strange ailment that no one can put a name to. I literally pull my automobile into somewhere and wonder how I arrived there. I shouldn't be on the road, but until someone cures me or puts me on disability, it is what it is.
Hello- I have faced this on and off for years and recent times became desperate for non-medical solution. Following is helping me. 1) maintaining routine as much as possible 2) accepting its hard to sleep once I get up, I read book on a light topic 3) avoiding any activity which excites mind few hours before sleep including TV, Phone etc... 4) following a meditation practice (free).
I'm not a medical professional but do you suffer from anxiety or depression? Or are you currently under a lot of stress? Sometimes it can be really difficult to fall asleep under these conditions; especially if you're not doing anything to relieve it. The human mind is weird and incredible and does weird things to cope lol. If you're only getting 2-3 hours of sleep every night, you will lose cognitive ability andI'm sure it effects your memory quite a bit. With this little amount of sleep, especially for how long it's been occurring, it can be detrimental to your overall health. I know it states that you have talked to doctors in the past, but have you gone to any specialists such as a neurologist or even had a sleep test done? It could be a number of things that are causing you to wake up in the middle of the night to go restroom, but there is an apparent reason that shouldn't be ignored. I would continue to search for second opinions, and ask different specialists on their opinion of this ~ don't give up!
Honestly your best answer on this will come from a medical doctor who examines you and knows your complete medical history -- not some anonymous internet poster, myself included. If you're not satisfied with the answers you're getting now, consider seeing an MD who specializes in sleep.