Yes, we need a lot of magnesium dosage for heart - the heart muscle's food
is magnesium. 75% of American are deficient in it due to a lot of factors
such as sweating, stress, food allergy, soda pop (big drainer with
magnesium), etc.
Check if your thyroid gland TSH is too high (should be between 1 to 3)

Be safe