Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
Kademlia
8 discussion posts
Hey,

im running into the problem that over time DisplayFusionService.exe uses about 1,3 GB of memory and has >50.000 Handles open in Task-Manager.
(Win 10 Pro 10.0.19044; DisplayFusion Pro 10 Beta 17).

I did not find out what makes it go that high yet but I can reproduce an increase of about ~300 each time I go into hibernate-mode and turn the pc back on. Memoryusage/Handles increases every time.

Example of a freshly stared DisplayFusionService:
1. About ~500 Handles initially
2. After 3-4 hibernate + reboot we get the first screenshot
3. After another reboot we get the second screenshot
4. After restarting the DisplayFusionService we get the third screenshot.

(I cannot upload the full DisplayFusionDebugInfo but these might be relevant)
Processes has ~4096 of these
<div id="Section389" class="Title"><a name="Section389" href="#Section389">Process Manager: Main Filenames [Cache_GetProcessMainFileName]: 300 seconds [6450]</a></div>
<ul>
<li class="ItemL0">1200 [281,015s / 300 seconds]: -</li>
<li class="ItemL0">1200 [281,015s / 300 seconds]: -</li>
<li class="ItemL0">1200 [281,015s / 300 seconds]: -</li>


Log contains a lot of these:
2022/10/04 17:36:48.5841##_##INFO:L1##_##displayfusionservice.exe:8424##_##DFRemoteHandlers:IsFileRunning:13##_##-##_##Path: 'C:\Windows\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_9751f6c72c23c322\nvsmartmaxapp64.exe'##_##-
2022/10/04 17:36:48.6315##_##FAIL:L1##_##displayfusionservice.exe:8424##_##BFProcessHelpers.Static:GetProcessMainFileNameOldMethodNOCACHE:71##_##-##_##PID: 268, Zugriff verweigert, [System.ComponentModel.Win32Exception]##_##-
2022/10/04 17:36:48.6481##_##FAIL:L1##_##displayfusionservice.exe:8424##_##BFProcessHelpers.Static:GetProcessMainFileNameOldMethodNOCACHE:71##_##-##_##PID: 3096, Zugriff verweigert, [System.ComponentModel.Win32Exception]##_##-
2022/10/04 17:36:48.6556##_##INFO:L1##_##displayfusionservice.exe:8424##_##DFRemoteHandlers:IsFileRunning:29##_##-##_##Not Running: 'C:\Windows\System32\DriverStore\FileRepository\nv_dispsi.inf_amd64_9751f6c72c23c322\nvsmartmaxapp64.exe'##_##-
2022/10/04 17:37:48.5233##_##INFO:L1##_##displayfusionservice.exe:8424##_##BFIpc.Server:StartIpcHandlerWorkerTHREAD:108##_##-##_##IPC Received: DFServiceAction##_##-
• Attachment [protected]: df1.png [62,438 bytes]
• Attachment [protected]: df2.png [62,035 bytes]
• Attachment [protected]: df3.png [57,727 bytes]
Oct 4, 2022  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Definitely sounds like a handle leak somewhere! Could you send us a memory dump when the memory usage of DisplayFusionService.exe is over 500 MB?
  • When the memory usage is over 500 MB, open the Windows Task Manager, click the processes tab, then right-click DisplayFusionService.exe and choose "Create Dump File"
  • ZIP the dump file to reduce the size
  • Send us the dump file via this page: https://www.binaryfortress.com/Data/Upload/
Thanks!
Oct 5, 2022  • #2
User Image
Kademlia
8 discussion posts
Thank you for the response.
I was able to upload a memdump just now.
DisplayFusionService in this case is sitting at ~800MB memory and 17000 Handles
Seems like BFAudio:UpdateCachedDeviceList is leaking / recreated all the time.

This might be related to "Elgato WaveLink" Program for Audio-Channels. As The program (WaveLink) could run into a state where it would consume ~1 CPU core randomly for some time. Possibly then caused by DisplayFusion or vice versa.
Process is called AudioRoutingHelper.exe

Eglago WaveLink seems to have problems with an audio channel resulting in a loop of the following messages. That might explain why something breaks
System.Runtime.InteropServices.COMException (0x88890004): Ausnahme von HRESULT: 0x88890004
bei .()
bei .get_()
==================================================================================================================
================================================== 23:37:39.133 ==================================================
SESSION STATE CHANGED: Session: Name: "Firefox"; Parent Device: "Wave Link Browser (Elgato Wave:1) {0.0.0.00000000}.{909af04d-7842-4099-986c-b81a54e82b25} Browser"; State: Expired; ProcessID: 4332
Notified State (may differ from current/actual State): Active
REMOVED SESSION from Parent Device
==================================================================================================================
================================================== 23:37:39.135 ==================================================
System.Runtime.InteropServices.COMException (0x88890004): Ausnahme von HRESULT: 0x88890004
bei .()
bei .get_()
• Attachment [protected]: df4.png [18,967 bytes]
Oct 7, 2022 (modified Oct 7, 2022)  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks! I'll pass this over to our devs to check out :)
Oct 7, 2022  • #4
Keith Lammers (BFS)'s profile on WallpaperFusion.com
We've found the handle leak here and it will be fixed up for the next beta :)

Edit: Our devs asked me to say thanks for tracking that down, your guess about the audio polling being the source of the leak was spot on 👍
Oct 12, 2022 (modified Oct 12, 2022)  • #5
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
This issue should be fixed up in the latest beta, available here: https://www.displayfusion.com/Download/Beta. Please let me know if you still run into any trouble after updating.

Thanks!
Dec 1, 2022  • #6
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)