sorry to hear about yr cramp - I've only ever had it out running. could you be dehydrated? all this heat could be a contributing factor.
have a read of this: http://globaltherapies.blogspot.com/2011/05/cramp.html
a bit of self massage, hydrating adequately and some RICE protocol application could help.