Paramedics treated approximately 1,900 festival-goers during the Sydney leg of Big Day Out festival this weekend as a heatwave blasted Australia's biggest city.

Temperatures tipped 40-degrees Celsius on both days of the festival, which took place at Sydney's Showground venue, Jan. 22-23.

The New South Wales Ambulance Service hospitalized 36 people, including a 27-year-old man who had suffered a suspected drugs overdose. Three police officers also suffered heat stress during the operation.

It wasn't just the harsh weather that kept authorities busy. Local police say they made 381 arrests during a two-day operation on-site. According to a police spokesperson, 12 people were charged with supplying drugs at the festival and another 104 were allegedly caught with drugs in their possession.

According to organizers, more than 106,500 people attended the two-day Sydney leg of BDO, which marked only the second time in the fest's 18-year history that a second show has been staged in any single city.

Despite the extreme heat in Sydney, the Jan. 15-31 Big Day Out has tour been a success so far. Organizers say 335,000 tickets have been sold, easily outpacing the previous high of 282,692 tickets shifted across six Australasian dates in 2008.

Muse, Powderfinger, Lily Allen and Dizzee Rascal are among the performers on this year's BDO bill, which visits Melbourne Jan. 26, Adelaide Jan. 29 and concludes Jan. 31 at Claremont Showground, Perth.