Relative Content

Tag Archive for wpfwindowsremote-accessgdi

Why the GDI Objects count of Anydesk keeps increasing when opened in a WPF Kiosk Application which would eventually lead to an app crash?

I am testing out a Windows’s WPF kiosk app and what I observed was for every 2 hours or so, the app crashes with OOM exception. When I researched more into it, I found that GDI objects keep increasing and once the GDI objects crosses the default limit of 10000, app crashes. And one more observation was that the GDI objects of my WPF app increases only when I open Anydesk/Ultraviewer(basically a remote access platforms) inside the kiosk app and it doesn’t happen with any other application. Surprisingly, Anydesk’s GDI objects count also increases when I open it in inside the kiosk app.