We study a parabolic Lotka-Volterra type equation that describes the evolution of a population structured by a phenotypic trait, under the effects of mutations, and competition for resources modelled by a nonlocal feedback. The limit of small mutations is characterized by a Hamilton-Jacobi equation with constraint that describes the concentration of the population on some traits. This result was already established in [PB08, BMP09, LMP11] in a constant environment, when the asymptotic persistence of the population was ensured. Here, we relax the assumptions on the growth rate and the initia data to extend the study to situations where the population goes extinct at the limit. For that purpose, we provide conditions on the initial data for t...