Intelliwins Blog

Anything you wanna know about?

High CPU Utilization When Running Wpf(Windows Presentation Foundation) Application.

by Admin 23. September 2013 13:57

Symptoms:

While running WPF application on .net framework 3.0 or 3.5 you sometimes receive a File exception format exception error or Argument out of range exception. Sometimes a file Wpf_fontcache.exe with almost 100% CPU utilization while looking at task manager. 

Cause:

Outdated Video driver which overwrites font cache stored in memory.

 Solution:

 

  • Close All WPF based Application
  • Stop Windows Presentation Foundation Font Cache Service from Control Panel Services.msc.
  • Delete Fontcache dat file (Note: It is located in %windir%\ServiceProfiles\LocalService\AppData\Local folder in Windows Vista and Win 7 by default , %systemdrive%\Documents and Settings\LocalService\Local Settings\Application Data folder in Windows XP and in earlier versions of Windows. )

This is only for the temporary solution. For permanent solution download and update the latest video driver.

Tags: , ,

Asp.net | WPF

Add comment

biuquote
  • Comment
  • Preview
Loading

Brit Colony, Bhubaneswar,India +91 94384 80191 info@ intelliwins.com

About Us

Intelliwins mission is to alter the dynamics of the software industry by providing trusted, supportive and quality software development servies to clients that view our partnership as a strategic driver for their success.

Newsletter

Enter your email to join our mailing list