Jump to content
  • entries
    91
  • comments
    177
  • views
    3246

Fault Tolerant Heap


atsouch

569 views

 Share

Στα Windows 7 υπάρχει ένα νέο Fault Tolerant Heap, μια ειδική περιοχή της μνήμης (αρκετά low-level) που “καταλαβαίνει” πότε έρχεται ένα crash και απομονώνει την εφαρμογή με το πρόβλημα πριν δημιουργήσει άλλα προβλήματα στο σύστημα. Τελικά μέρα με τη μέρα θα μαθαίνουμε και κάτι για τα 7…

Description

The Fault Tolerant Heap (FTH) is a subsystem of Windows 7 responsible for monitoring application crashes and autonomously applying mitigations to prevent future crashes on a per application basis. For the vast majority of users, FTH will function with no need for intervention or change on their part. However, in some cases, application developers and software testers may need to override the default behavior of this system.

Solution

Viewing Fault Tolerant Heap activity

Fault Tolerant Heap logs information when the service starts, stops, or starts mitigating problems for a new application. To view this information, follow these steps:

  1. Click on the start menu
  2. Right-click Computer and choose Manage
  3. Click Event Viewer > Applications and Services Logs > Microsoft > Windows > Fault-Tolerant-Heap
  4. View FTH Events
The service stop and start events contain no additional data. The FTH Enabled event contains the Process ID (PID), the process image name, and the process instance start time.

Disabling Fault Tolerant Heap

Caution Serious problems may occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems may require you to reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
To disable Fault Tolerant Heap entirely on a system, set the REG_DWORD value HKLM\Software\Microsoft\FTH\Enabled to 0.

After changing this value, restart the system. FTH will no longer activate for new applications.

Resetting the list of applications tracked by FTH

Fault Tolerant heap is self-managing and will autonomously stop applying in the case that mitigations are not effective for a given application. However, if you need to reset the list of applications for which FTH is mitigating problems (for example, if you are testing an application and need to reproduce a crash that FTH is mitigating), you can run the following command from an elevated command prompt:

Rundll32.exe fthsvc.dll,FthSysprepSpecialize

Caution Running this command will clear all FTH applications, so applications that are currently functioning properly may begin to crash again after running this command.
 Share

1 Comment


Recommended Comments

Στα Windows 7 υπάρχει ένα νέο Fault Tolerant Heap, μια ειδική περιοχή της μνήμης (αρκετά low-level) που

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...