As the specific name implies it grows in sandy or gravelly areas, in places that have limited competition from grasses, such as sandy open pine woodlands, dunes, river banks, roadsides and railway embankments.