How to solve the performance decay of a VB.NET 1.1 application?
Posted
by marco.ragogna
on Stack Overflow
See other posts from Stack Overflow
or by marco.ragogna
Published on 2010-05-20T07:23:21Z
Indexed on
2010/05/20
7:40 UTC
Read the original article
Hit count: 290
I have single-thread windows form application written with VB.NET and targeting Framework 1.1. The software communicates with external boards through a serial interface, and it mainly consist of a state machine that run some tests, driven in a loop done with a Timer and an Interval of 50ms.
The feedback on the user interface is done through some custom events raised during the tests.
The problem that is driving me crazy is that the performance slightly decrease over time, and in particular after 1200/1300 test operations. The memory occupied does not increase over time, it is only the CPU that seems interested by this problem.
The strange thing is that, targeting framework 2.0 and using the same identical code, I do not have this problem.
I know that is difficult without looking at the code, but do you have suggestions how can I approach the problem?
© Stack Overflow or respective owner