I also had very high anxiety which is completely gone now. Now that I use a machine to sleep my memory is sharp again.
I also eat much less now, so I believe that calories were a way the body would attempt to counter act the lack of rest.
These are just my thoughts, I honestly don't have any scientific background on it. Just my own experiences.