system.timers.timer bug found 
Author Message
 system.timers.timer bug found

when i create a system.timers.timer timer (interval=1000) in a control
inherited class and i use the synchronizingobject property to chain the
timer to the control, everytime the event elapsed is raised (using
addhandler functionality, and the sub called has no additional lines of
code) probably a handle is created in the background but not destroyed, not
even when the garbage collector is forced. TaskManager shows the number of
handles of the program.

i run a program and after 3 hours i got a out of virtual space error.

When i do not use the synchronizingobject property it works fine.

I have solved this problem by using the windows form timer instead, but it
seems a bug to me and i rather use the system timer because of the accuraty.

Regards,

Willie Jan Bons.



Tue, 10 May 2005 17:01:43 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. System.Timers.Timer in VB .NET ignores errors

2. Windows Service with System.Timers.Timer

3. Server Timers vs. Windows Timers for RS232 polling

4. Benefits of the timer object, bompared to the timer control

5. better timer than Timer?

6. timer event within a timer event

7. Q: Timer problem (need simple count up timer)

8. Timer interval is depending on code in timer event

9. Multimedia Timers = RealTime Timers ?

10. Timer Oh Timer

11. Calling a sub from a the timer event of a timer control

12. Q: Timer problem (need simple count up timer)

 

 
Powered by phpBB® Forum Software