i have 2 suspicions, my first is something i am afflicted with, acid reflux. many people may say this is not what you have however i wake up about once a month unable to breath with strong acid burning my throat. after a bit i am able to swallow it down and breathe again. the other culprit could be sleep apnea, a disease that runs in my family. when afflicted you randomly stop breathing in the middle of the night, often several times and of varying lengths of time. have a friend ir family member near you as you sleep to listen and see if you do stop breathing. and now that i think of it it could be one more thing. during rem sleep your body is immobilized from the neck down, once waking you usually regain mobility but this could be a fluke where the autonomic function of breathing was stopped and you were unable to control it. but regardless of what is causing it, if it happens again i would visit a doctor.
edit: knowing what you ate has nearly confirmed my suspicion of acid reflux. every time i eat anything greasy or a lot before bed i am suddenly awoken unable to breathe etc...
medical knowledge, stay in school kiddies :D