are you sleeping on your back, when this happens?
Hey...You might be hyperventilating in your sleep and really not know about it..I used to do the same thing and it scared me to death and then I started panicking just before bed. I found medication can help. Talk with your doctor to make sure nothing else is wrong...good luck