Why do I get bad cramps at night time in my legs like something is trying to escape. I am a 50 year old male. Please help.?

Another possibility. I agree with dr. Birnbaum, but would add another possibility: chronic venous insufficiency. Many docs & patients are unaware of the association between chronic superficial venous insufficiency (faulty valves leading to increased pooling/pressure in leg veins) and chronic leg cramps. A board-certified phlebologist (vein specialist) can evaluate such issues. Minimally-invasive procedures may help.
Cramps: many causes. There are many causes for leg cramps. See your doctor to check for disorders of potassium, magnesium, or calcium. Get an evaluation for restless legs syndrome. See if the cramps are from one of your medications. Sometimes walking barefoot on hard floors may cause leg cramps. Although quinine may help in some cases, this agent may result in severe low platelets. See your doctor for this!