As the population grew , with large numbers of Irish immigrants settling in the area during the potato famine in the 1840s , problems of overcrowding in the Old Town , particularly in the cramped tenements that lined the present day Royal Mile and the Cowgate , were exacerbated .
Many Irish immigrants settled in Edinburgh during the 1840s potato famine .