It means you were thinking about something (maybe a difficult situation) too much and too often!
You feel like you’re thinking about so many different things that it’s hard to slow down your thoughts (like a car in overdrive going faster than engine speed)