The volume function is upper semicontinuous on families of divisors
We study the behavior of volumes of divisors in a family. We show that the volume of a divisor on the generic fiber equals the infimum of its volumes on fibers over any dense subset of the base. As an application, we show that the volume function of a divisor is upper semicontinuous in flat families with reduced and irreducible fibers.