Application slows down after running a few days

M

Matijaz

Hello,

I'm working on project which is right now quite large.

It consists of about 50-60 forms. Some of them 15-20 are
cached to improve display time, rest is created and disposed
during runtime on user request.

More over there is serial communication on both serial ports.
COM1 is monitoring another device in 1,5s interval (255bytes
length packets are sent and received).
COM2 is used for sending and receiving data to/from PC.

Project is written in VB.NET plus there are 4 libs written in C#
which export some userful functions to main app.

There are a few threads, thread timers, and form timers racing.

After running for a few days it starts to choke. UI refresh starts
to slow down until it reaches the state when it just stops for 7 seconds
 
M

Matijaz

Matijaz said:
Hello,

I'm working on project which is right now quite large.

It consists of about 50-60 forms. Some of them 15-20 are
cached to improve display time, rest is created and disposed
during runtime on user request.

More over there is serial communication on both serial ports.
COM1 is monitoring another device in 1,5s interval (255bytes
length packets are sent and received).
COM2 is used for sending and receiving data to/from PC.

Project is written in VB.NET plus there are 4 libs written in C#
which export some userful functions to main app.

There are a few threads, thread timers, and form timers racing.

After running for a few days it starts to choke. UI refresh starts
to slow down until it reaches the state when it just stops for 7 seconds

It happens every 30 seconds. I do not have any timer running with 30sec
interval.

I'm sory. I pressed enter and focus was on "send button" ;)

What could be the cause of the problem?
Could it be memory leak?

BTW i tried to run performance counters but I can't edit
Win CE registry. I'm using ActiveSync 4.1 over serial
port and VS.NET2003 and WinCE 5.0

Best regards
Maciek Regulski
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top