4 months and throwing up

My little one keep spitting up. We have changed his formula multiple times to help this and it stopped for a while. And its not just a little spit up its alot. He is always happy after so I can't say he is sick. My pediatrician say she don't think I should be concerned because he still gaining weight but I keep trying to explain to her that it's alot. One of his aunt's told me to make him a bottle and put an oz of Pedialyte in it. I read the bottle and I'm not sure any suggestion?