George Johnston
George Johnston

Reputation: 32278

What effect do unhandled errors have on the .NET CLR?

I am currently looking for issues causing CPU spikage within one of our applications on one of our servers, and I've noticed tens-of-thousands of unhandled errors messages in the event viewer, within a 3rd party forum software that we use in one of our sites.

What kind of ramifications do unhandled exceptions have on the .NET CLR and would they contribute to an unusually high amount of CPU spikage/usage? I've also noticed a large amount of memory that does not seem to be GC'd.

Upvotes: 0

Views: 119

Answers (1)

Andrew Barber
Andrew Barber

Reputation: 40160

Exception objects in .NET are, in general, a fairly heavy object in that they do take a bit of effort to be instantiated. So lots of those (whether handled or not) could be causing your troubles.

I'd be interested in seeing the frequency, though; tens of thousands over months? weeks? days? shorter?

Upvotes: 2

Related Questions