acute mountain sickness or ams is a condition wherein you can suffer symptoms ranging from nausea , vomiting and dizziness to insomnia , nosebleed and peripheral edema ( the swelling of extremities ) .