How much should he eat?

I have a huge baby boy. He was born over 10 lbs. We had to supplement in the hospital because he had really bad blood sugar issues and jaundice. We kept supplementing for another week until issues resolved. But i was breastfeeding and had a good supply and then he got another 20oz of formula as recommended by the doctor. It seemed like a lot but it helped him get healthy. Well now we aren’t supplementing but he can easily drink 3oz of pumped milk or breastfeed for 45 mins non stop and he is only 2 weeks old. Is that too much? If I stop him early he is clearly still hungry and constantly trying to eat more. The doctor said to feed him if he is hungry so I am but I am worried about over feeding. She said that isn’t a concern with breast milk. Is that true?