The muscle pain usually lasts from a couple of seconds to around several minutes. Once the pain is gone, the muscles usually are sore for the rest of the night, or even during the whole following day. Leg cramps are typical for both men and women, but more frequent in people above 50.
http://www.healthylivinghouse.com/this-is-why-your-legs-cramp-at-night-and-how-to-stop-it-from-happening-ever-again-2/
https://www.youtube.com/watch?v=zip1reZKAbE