Automatic weighting problem

Hi i am trying to use automatic weighting but it keeps on saying “Bone heat weighting. Failed to find solution for one or more bones”

please make it really clear. Because if you just say “remove doubles” i don’t know how to do that in the new blender and you should say how ok?

Thanks in advance