New York State agencies spent more than $316 million in overtime in the first six months of 2014 according to State Comptroller Thomas DiNapoli.

The report says State employees worked more than 7.8 million overtime hours so far this year, and if the trend continues, total overtime costs for 2014 could exceed $640 million.

DiNapoli says the Department of Corrections, Office for People with Developmental Disabilities and the Office of mental health account for more than 62.7% of total overtime spending - with the Department of Taxation and Finance seeing a 128% jump in overtime hours.

"This troubling trend could again result in a record-breaking year of overtime hours and overtime pay," DiNapoli said. "Our state agencies need to examine their practices, get to the root of what is driving high overtime and better manage these costs."

Some of the increase is due to recent salary and other increases paid to state employees, which resulted in a higher cost-per-hour of overtime worked. However, total overtime hours also rose for many agencies.

More From WIBX 950