qBittorrent icon indicating copy to clipboard operation
qBittorrent copied to clipboard

Opt into Windows SegmentHeap

Open Andarwinux opened this issue 1 year ago • 1 comments

SegmentHeap provides a faster malloc implementation that only available with Dynamic UCRT in Windows 10, version 2004 (build 19041) and later

Andarwinux avatar Aug 25 '24 19:08 Andarwinux

Wrong schema setting being used!!!

It needs to have it's own, see: https://learn.microsoft.com/en-au/windows/win32/sbscs/application-manifests#heaptype

    <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2020/WindowsSettings">
      <heapType>SegmentHeap</heapType>

Screenshot 2024-08-27 112342

xavier2k6 avatar Aug 27 '24 10:08 xavier2k6

Unsure if comment is ok "as-is", but some alternatives:

<!-- Enable Segment Heap on supported platforms (requires Windows 10 2004 or newer) -->

<!-- Override Windows default heap implementation with more modern "Segment Heap" on supported platforms (requires Windows 10 2004 or newer) -->

xavier2k6 avatar Sep 02 '24 15:09 xavier2k6

@Andarwinux Thank you!

Chocobo1 avatar Sep 08 '24 07:09 Chocobo1