If heavy Sweating has no underlying medical cause, it’s called primary hyperhidrosis. This type occurs when the nerves responsible for triggering your sweat glands become overactive and call for more perspiration even when it’s not needed. Primary hyperhidrosis may be at least partially hereditary.
If the sweating can be attributed to an underlying medical condition, it’s called secondary hyperhidrosis.
Health conditions that may cause excessive sweating include:
- Diabetic hypoglycemia
- Endocarditis (an infection of the inner lining of the heart)
- Fever of undetermined cause
- Generalized anxiety disorder
- Heart attack
- Heat exhaustion
- HIV/AIDS
- Hyperhidrosis
- Hyperthyroidism (overactive thyroid)
- Leukemia
- Malaria
- Medication side effects, such as sometimes experienced when taking some beta-blockers and antidepressants
- Menopause
- Non-Hodgkin’s lymphoma
- Obesity
- Stress
- Tuberculosis
Source: https://www.mayoclinic.org/symptoms/excessive-sweating/basics/causes/sym-20050780