It could just be because you smoked 2 grams in one session, and considering the fact that you said you don't smoke a lot could mean that you just weren't used to that much smoking at once...? Maybe you smoked too fast or something...

If that's not the case, then it's hard to tell. Maybe it's just bad coffee.