Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
Error message or high CPU utilization when running a Windows Presentation Foundation (WPF)-based application
Article ID: 937135 - View products that this article applies to.
When you run a Windows Presentation Foundation (WPF)-based application in the Microsoft .NET Framework 3.0, you may receive a FileFormatException error or an ArgumentOutofRangeException error. The error occurs when the WPF-based application starts to process text. For example, you may receive a FileFormatException error message that resembles the following:
In this error message, file_name is typically the file name for a font. Additionally, the application consumes up to 100 percent CPU time.
file:///filepath/file_name file does not conform to the expected file format specification.
When looking in Task Manager or other tools, PresentationFontCache.exe consumes 50% or more of available processor time.
This issue occurs if video drivers overwrite the data in the font cache that is stored in memory.
To resolve this issue, follow these steps:
If the video card drivers overwrite the data in the font cache that is stored in memory, the corrupted data may be saved to the hard disk as a data file. Therefore, you may experience the issue that is described in the "Symptoms" section when another WPF-based application tries to read the corrupted data file.
After you update the video card drivers and after you delete the Fontcache126.96.36.199.dat file, a new font cache data file is created based on the new computer configuration. This new font cache data file is created when the Windows Presentation Foundation Font Cache 188.8.131.52 service is stopped. Typically, the new font cache data file is created when the computer is shut down or restarted.