PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, March 10, 2005 12:03 PM
To: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-devel-list] Leak in System.Timers.Timer?
Oh, wait I see you are passing the same one by ref and setting it to null.
Do you get different behaviour under
Looks to me like your creating timers in an infinite loop wich would of course continue to consume resources
while(true){ InitTimeout(ref timeout); System.Threading.Thread.Sleep(10);}
true will always be true so you are spinning off a lot of timers right? Or am I missing something?
Regards,
Could it be the "lapsed listener problem"?
http://www.andymcm.com/dotnetfaq.htm#5.8Brian Kroeker [EMAIL PROTECTED] wrote:
I'm seeing what looks like a memory leak somewhere in System.Timers.Timer. I'm using mono 1.1.4 on a linux system. The code I used to reproduce the problem is:
-list@lists.ximian.comSubject: Re: [Mono-devel-list] Leak
in System.Timers.Timer?
Oh, wait I see you are passing the same one by ref and setting it to
null. Do you get different behaviour under windows? Joe Audette
[EMAIL PROTECTED] wrote:
Looks to me like your creating timers