How can I create a stable scheduler application to get data from some bio-metric machine for attendance purpose?
-
Hi, I have created an application to get the data from bio-metric machine using C# [using Timer]. But it's not stable during its continues working. Please any one help me to design a stable scheduler program in C#.net. Thanks
You need to analyse why it's not stable. Is it a problem with the hardware? Are you having threading issues? Having an effective logging and exception handling strategy will be a big step forward for you, as it should help you focus on the causes of issues.
-
You need to analyse why it's not stable. Is it a problem with the hardware? Are you having threading issues? Having an effective logging and exception handling strategy will be a big step forward for you, as it should help you focus on the causes of issues.
-
No, It doesn't throw any exception, but show a message that "Application has stopped working", after two more days.
Then you most likely have something like a memory leak going on in there. By the way, why have you asked this in the WinForms section? Surely your application is a service.
-
Then you most likely have something like a memory leak going on in there. By the way, why have you asked this in the WinForms section? Surely your application is a service.
-
I am sorry, Its Because, I have created a Windows Form application to do this process and to visualize my schedules and list of my machines. I have closed all my objects after its use, then how the memory leak happen?
You need to do some memory profiling. Download one of the excellent profilers available and set it away.
-
You need to do some memory profiling. Download one of the excellent profilers available and set it away.