I was just diagnosed as having hypoglycemia?

The doctor prescribed me to start a medication with is 500 mg of Metformin, and she wants to work the dose up to 1500 mg a day. Has anyone been on this medicine for hypoglycemia? I am overweight, and she thinks it will make me lose weight. Has anyone lost weight from it when their insulin levels arent right?