Segment Heap is not used
ID PE134 Level INFO Category Optimization
Description
The executable does not specify the heap type in the manifest. For newer applications, it is recommended to use Segment Heap, which is a modern heap implementation that will generally reduce overall memory usage.
Mitigation
- Add the
heapType
element to the Application manifest.
If using Visual C++:
- Create a separate Application manifest file if you have not done this for your application yet. This file will be used as an additional source to the default manifest generated by the Manifest tool.
- Add the external manifest file as an additional input file to the Manifest tool (also see the screenshot below).
- Add the
heapType
element to your Application manifest file.
If using Visual Studio with .NET Console, WinForms, WPF projects:
- Add the Application manifest file to your project. See the screenshot below.
- Add the
heapType
element to your Application manifest file.
Arguments
This rule has no output arguments.
Loading...
Unable to load this documentation page.