I just moved to a place with an old apricot tree. It was pink with thousands of blossoms but not 1 piece of fruit.
My father tells me that his father hacked their apricot tree almost every year and it was loaded with fruit.
So is heavy pruning the answer?