It can be due to severe anemia, a failing heart, serious kidney
disease, liver failure
or disorder, electrolyte imbalance, polycystic ovary, low protein in the blood, and disorders of adrenal gland. This is something for which you must consult a doctor ASAP (as you did, but discuss these now), preferably an internal medicine specialist. Take care!