Before writing '' Angela 's Ashes '' ( 1996 ) , his best-selling memoir about his impoverished childhood in Ireland , Frank McCourt spent three decades teaching in New York City , conducting , by his count , at least 33,000 classes and instructing some 12,000 students .