Radiation of heavy quarks