Metformin

Currently taking Metformin ER 500 mg 3x a day. I'm curious if others take this much, and if so, do you take all at once or one per meal?

I was taking all 3 pills at night, but switched to 1 per meal and now I have crazy heartburn.

Anybody else?