Trace formulas and the behavior of large eigenvalues