The difference between Server OS and Windows 10 for thread handling.
I have Windows Service application built by C# on .NET 2.0 running on both Windows Server 2012 and Windows10 1909.
This Windows Service creates thread for launching other application like notepad for instance every hour.
I have seen this Service works fine on Windows Server but thread handle increases on Windows 10.
On Windows Server 2012, a number of thread handles stays around 30 and can be acceptable for a long-term operation.
On Windows 10, a number of thread handles increases every hour and reaches 1,000 within a month and eventually system hangs.
Someone knows the difference between Server OS and Windows10 for releasing handle resources?
This Windows Service application might not release handles correctly and manually.
Please leave aside resource leaking problem away at this time and I just would like to know the behavior of thread handling mechanism on these OS.
regards,