Do you drink caffeine? I get the exact same problem when I drink caffeine, exert myself and don't eat enough food. Take a couple of short breaks with healthy snacks and skip all stimulants. I would bet it never happens again.
I thought my blood sugar was dropping and I was becoming diabetic...