The total variation of a function and some other notions in geometric measure theory are connected to the short-time behaviour of the heat semigroup in various frameworks. After giving a brief general description of these relations, some details are given in the cases of Riemannian manifolds and Carnot groups.http://cvgmt.sns.it/seminar/386/