High Heart Rate while I Sleep

Options
So yesterday I was looking into getting a Body Media although i cant justify paying a monthy fee of $6.95 in addition to the cost of the unit being $149. So I told my self, i'd start wearling my Polar PT40 which I spent over $100 a couple yrs ago and its been sitting in a drawer for over a year. So I wore it to bed and plan to monitor my calories burned throughout the night and day. So i can get a realistic count of what my body actually burns. Well last night for 4.25 minutes my heart rate reached 225 i recall waking up and being sweaty dont recall a bad dream of any sort just found this concerning. The max i've reached in a work out was 190 and was on the verge of throwing up.