fainting from period cramps

so this has only happened twice in my life, once in 2018 and now another time in 2019. normally my periods aren’t this bad, but it’s happened twice where my pms symptoms are extremely worse than they normally are, and when my period comes i cramp so bad i throw up and pass out. the first time this happened i puked and then passed out on my bathroom floor, sounds like a night after drinking too much but no, just terrible cramps. this time, i fainted 3 times within an hour, but luckily no puking, i just don’t think this is normal and i don’t know why it’s happening. when this happens i also notice my period is extra heavy. what could this possibly be ?