Windows: High number of open handles in OBS Studio

tinodo

New Member
After starting OBS Studio, I see that it opens almost 37000 handles. Over time, this number fluctuates very little (plus or minus 7) so I don't expect a handle leak. Yet, this is an extremely large amount of handles, and is causing performance issues.
One could attach windbg to the obs64.exe process and execute '!htrace -enable' to get more insights...

I wouldn't expect such a high number of handles. Is there any way to reduce this number? It appears somewhat absurd... To compare; the Windows System process, which, uh, runs Windows, has under 10000 open handles... OBS is by far the biggest consumer of handles on the system; over 10 times more than my number 3 process... Is this something worthwhile investigating?
 

Harold

Active Member
Your scene collection and other components are likely the cause of the high handle count.
My own copy of OBS only opens about 5,000 handles total with the logitech ghub application opening almost 30,000, outlook opening almost 20,000 and windows' services host having over 55,000

Whatever's going on, OBS itself is not the root cause of the high handle count.
 
Top