We completely solve a problem of S. Zhang about the positivity of a normalized height on the moduli space of semistable varieties of given degree and given dimension.