Khan
Khan

Reputation: 5

75 to 100% of CPU Usage in WPF?

Whenever application loads and any other usercontrol loads in the application, while loading and rendering the cpu usage touches 80 - 100%. How should i resolve this? Thanks and regards, Ershad

Upvotes: 0

Views: 1623

Answers (2)

user275587
user275587

Reputation: 690

The problem in my case seems to be WPF event handling.

Upvotes: 0

Graviton
Graviton

Reputation: 83326

Seems like you are using a lot of CPU power and memory.

Try to find the bottleneck by using a profiler (such as ants profiler) to profile for speed and memory usage. After that, optimize the bottleneck by rewriting the algorithm.

Of course, you should test on a new, powerful machine to make sure that it is a really your application problem, but not a my-machine-is-old-and-lousy problem.

Upvotes: 2

Related Questions