Which form of Mg were you using? From reports in the detox groups, the glycinate form tends to be well tolerated. There are so many sensitive people in those groups.
I'm surprised about the ginkgo recommendation. That tends to give me a mild headache!
Supplements can be tricky; however finding the right combination can be really helpful to some people.