# Potential MS Windows 10 Performance Hit due to FTH

**URL:** https://discourse.paraview.org/t/potential-ms-windows-10-performance-hit-due-to-fth/405
**Category:** Tips and Tricks
**Created:** [August 8, 2018, 5:42pm UTC](https://discourse.paraview.org/t/potential-ms-windows-10-performance-hit-due-to-fth/405 "2018-08-08T17:42:36Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![martink](https://discourse.paraview.org/user_avatar/discourse.paraview.org/martink/32/2082_2.png) [@martink](https://discourse.paraview.org/u/martink)
#### Post date: [August 8, 2018, 5:42pm UTC](https://discourse.paraview.org/t/potential-ms-windows-10-performance-hit-due-to-fth/405/1 "2018-08-08T17:42:36Z")

</div>

Bit of a Public Service Announcement for Windows 7/10 Application Developers and Testers

This bit me recently, so I figured I would pass it on in case some folks have not run into it. If you develop, test or run on Windows then there is an issue/feature that can cause a significant slowdown in your executables. Windows comes with a Fault Tolerant Heap (FTH) and if Windows decides that your application is crashing too often, it will automatically start using the FTH for your application. The FTH is much slower than the normal heap and your application performance will take a big hit. This is not restricted to debug builds and is not dependent with the run time library you use. It is a built-in feature of the operating system. In my case a release build of ParaView had been moved to the FTH.

As a developer, or tester, we tend to crash applications. Windows may decide based on those crashes to assign your application to the FTH. You can look to see what, if any, applications have been relegated to the FTH by running regedit.exe and looking at

Computer\HKEY\_LOCAL\_MACHINE\SOFTWARE\Microsoft\FTH\State

And seeing if your application is listed there. You can turn off the FTH by setting

Computer\HKEY\_LOCAL\_MACHINE\SOFTWARE\Microsoft\FTH\Enabled

to 0. You can find more information about the FTH at the following link.

[https://docs.microsoft.com/en-us/windows/desktop/win7appqual/fault-tolerant-heap](https://docs.microsoft.com/en-us/windows/desktop/win7appqual/fault-tolerant-heap)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [April 27, 2020, 2:17am UTC](https://discourse.paraview.org/t/potential-ms-windows-10-performance-hit-due-to-fth/405/2 "2020-04-27T02:17:51Z")

</div>

Do you know if there is any kind of warning to know you hit this issue ?

---

<div class="post-metadata">

### Author: ![martink](https://discourse.paraview.org/user_avatar/discourse.paraview.org/martink/32/2082_2.png) [@martink](https://discourse.paraview.org/u/martink)
#### Post date: [April 27, 2020, 12:37pm UTC](https://discourse.paraview.org/t/potential-ms-windows-10-performance-hit-due-to-fth/405/3 "2020-04-27T12:37:36Z")

</div>

Not sure if there is any warning given. But checking is pretty quick with regedit

> [@martink](#):
>
> You can look to see what, if any, applications have been relegated to the FTH by running regedit.exe and looking at
> 
> Computer\HKEY\_LOCAL\_MACHINE\SOFTWARE\Microsoft\FTH\State
> 
> And seeing if your application is listed there.

---

<div class="post-metadata">

### Author: ![Paulo\_Carvalho](https://discourse.paraview.org/user_avatar/discourse.paraview.org/paulo_carvalho/32/8153_2.png) [@Paulo\_Carvalho](https://discourse.paraview.org/u/Paulo_Carvalho)
#### Post date: [December 5, 2021, 1:20pm UTC](https://discourse.paraview.org/t/potential-ms-windows-10-performance-hit-due-to-fth/405/4 "2021-12-05T13:20:51Z")

</div>

The only message one seems to get is when running the application from Qt Creator. I get this message `FTH: (25568): ***Fault tolerant heap shim applied to current process. This is usually due to previous crashes.***  **** [QIPCAP] Cert free handle` This message does not appear when starting the application via console.

IMO, this is another of those questionable ideas that Microsoft has put forth throughout the years. FTH does not really fix anything and the opportunity to improve the quality of the software is overlooked just to make Windows **look** more stable. At least, the user should have made aware of this and given the option to apply it or not.

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [December 16, 2021, 8:18pm UTC](https://discourse.paraview.org/t/potential-ms-windows-10-performance-hit-due-to-fth/405/5 "2021-12-16T20:18:55Z")

</div>

@martink @cory.quammen Why can’t we include this information in the “Help/ About”?

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [December 16, 2021, 8:57pm UTC](https://discourse.paraview.org/t/potential-ms-windows-10-performance-hit-due-to-fth/405/6 "2021-12-16T20:57:15Z")

</div>

> [@wascott](#):
>
> Why can’t we include this information in the “Help/ About”?

Technically I’m sure it is possible. This particular issue hasn’t bubbled up as an issue reported by users, so checking it hasn’t become a priority.

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [December 17, 2021, 2:07am UTC](https://discourse.paraview.org/t/potential-ms-windows-10-performance-hit-due-to-fth/405/7 "2021-12-17T02:07:16Z")

</div>

OK, that makes sense.
