I've had the same a couple of times when running on long off-road races. I suspect it was digestion-related. I get these at other times too, & indigestion pills seem to help (Tums/Rennies - nothing fancy). Seems to be when I'm tired & my stomach's not quite right - that happens often in races. Occasionally I've lose vision entirely for the left or right side, which is a bit scary, but this hasn't happened in a race yet. It only happens every year or two though.