Search code examples
c#garbage-collectionwindows-serviceswindow-handles

High ram load and "Error creating window handle" exception


in my c# windows service I get an exception, Error creating window handle. I'm working on a sip program. for each call 263KB ram used and after 1.2GB usage of ram I get above error. Handles are about 1300 on my service. My machine has enough free memory. I do dispose on every object I create.

how can I trace that and find the problem?


Solution

  • That was because of timers created but didn't release even by using stop and dispose methods ...