PC Review


Reply
Thread Tools Rate Thread

Disapearing System.Timers

 
 
=?Utf-8?B?R3JlZw==?=
Guest
Posts: n/a
 
      18th Dec 2003
Has anyone seen System.Timers just stop working or go away. Its alomst like they get magically garbage collected. This behavior is easily seen in my program when running several instances of the same program. I typically get about 1/8 timers to just disapear!


 
Reply With Quote
 
 
 
 
Cor
Guest
Posts: n/a
 
      18th Dec 2003
Hi Greg,

This kind of questions have in this newsgroup a standard answer

"Show us some code?

Cor
> Has anyone seen System.Timers just stop working or go away. Its alomst

like they get magically garbage collected. This behavior is easily seen in
my program when running several instances of the same program. I typically
get about 1/8 timers to just disapear!
>
>



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      18th Dec 2003
* "=?Utf-8?B?R3JlZw==?=" <(E-Mail Removed)> scripsit:
> Has anyone seen System.Timers just stop working or go away. Its
> alomst like they get magically garbage collected. This behavior is
> easily seen in my program when running several instances of the same
> program. I typically get about 1/8 timers to just disapear!


How many timers do you use?
Did you have a look at the CPU usage of the applications?
What do you mean by "go away"? They don't fire any more?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
 
Reply With Quote
 
=?Utf-8?B?R3JlZw==?=
Guest
Posts: n/a
 
      18th Dec 2003
I have one of these system timers in each app. I had about 3 other timers in the app as well (wich I have removed and replaced with other means

It seems things really start falling appart when I run about 40 instances of the application


 
Reply With Quote
 
=?Utf-8?B?R3JlZw==?=
Guest
Posts: n/a
 
      18th Dec 2003
Hard to tell if its CPU Usage related. Over time, the timers stop firing just with one application running. It just becomes more evident when I fire off about 40 or so applications.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Timers in System Services GaryDean Microsoft Dot NET Framework 2 17th Nov 2008 05:34 AM
System.Timers.Timer Rob Microsoft ASP .NET 2 29th Sep 2007 02:29 PM
System.Timers.Timers + WindowsService Björn Microsoft Dot NET Framework 5 17th Jan 2006 02:08 PM
C# 2.0 , System.Timers Matthieu Guyonnet-Duluc Microsoft C# .NET 0 25th May 2005 07:10 PM
RE: Timers not fireing System.Windows.Forms.Timer and System.Timers.Ti =?Utf-8?B?UmljaE0=?= Microsoft Dot NET Framework Forms 3 19th Aug 2004 10:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:43 PM.