We are trying to use the SaveChartAsImage to convert some excel charts to images but every once in and while the CPU will get maxed out and will never return to to normal, we have to kill the process. Our stack trace is pointing to this method as the reason, but we can rerun the conversion on the same chart a few minutes later and it works just fine.
Is there anything that we can do to stop this from happening?