c# - Windows UI/Application freeze when running 24X7 -


i have developed 1 application in c#.net 3.5 , vs 2008, contain many controls such tab, textbox, objelistview, gauges, zedgraph.

my application intended communicate on serial port , update data on said ui. achive using timer thread.

its 24x7 running application, sometime freeze , timer thread stops executing automatically, can see sceen can't click anywhere , need restart application make run again.

please note dont see application not responding message or likewise, freeze.

if 1 can provide inputs same great.

you may have memory leaks or many uncolsed resources. while application freezed see task manager , check memory , cpu usage. can gueesing if many of ram used or if application consumes many cpu processing power.

in application consider disposable objects. try dispose them correctly. after opening serial port don't forget close again. can use logging mechanisms see @ point application freezes.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -