The application even logs the same data in a text file (using FileStream - StreamWriter)
Over the time the CPU utilization starts increasing and after running it for 15 hrs its almost 100%.
I suspect the problem could be due to:
1.
Expand|Select|Wrap|Line Numbers
- txtTraffic.AppendText(sTextToWrite);
- txtTraffic.AppendText(Environment.NewLine);
- txtTraffic.SelectionStart = txtTraffic.Text.Length;
- txtTraffic.ScrollToCaret();
2. FileStream - StreamWriter could be the problem although I highly doubt that