Swelling can be due to blockage in salivary duct.The most common cause of blockage is stone in duct. Blockage makes saliva back up inside the duct, causing the salivary gland to swell.
A typical symptom of a blocked salivary duct is swelling that worsens just before mealtime or particularly when a person eats a pickle .The tretment of blocked salivary duct is by Dentist ,when he presses the duct,stone is pushed outside.Other treatment is surgical.
But all can be said surely only by proper examination.So you can take advice from your Dentist.
Click the ACCEPT button and leave a POSITIVE FEEDBACK if my reply is helpful to you. A BONUS would be encouraging.