sitting at the computer for too long isn't what's causing it; else this response would be an "ohhhhhhh, ook; so thaaaat's how you get rid of that" this used to happen to me all the time btw. No, I don't eat bananas because I'm allergic to them. Instead...well...since it's happened me thousands of times, I just avoid stretching it out. Even if my sub-conscience decides to stretch it out, I usually just wake up and stop it because I can already feel the cramp getting worse. how do you get rid of it? Don't stretch out your leg. As a matter of fact, if you want to get into a more comfortable position, don't stretch anything