G
Guest
We appear to have identified a memory leak in the .NET Framework using a service running on Windows 2000 platforms
Using the .NET Development Environment we have created a standard C# Windows Service and added a FileSystemWatcher and a Timer object. When the timer fires (every 30-seconds), the FileSystemWatcher is temporarily disabled and this causes a significant memory leak on Windows 2000 platforms (approx 10Kbytes every time)
The problem does not seem to occur on Windows XP platforms
We have also found that the leak does not occur on Windows 2000 platforms when running a C# Windows applicatio
instead of a service (i.e. using System.Windows.Forms.Timer instead of System.Timers.Timer)
Has anyone else experienced anything like this?
Using the .NET Development Environment we have created a standard C# Windows Service and added a FileSystemWatcher and a Timer object. When the timer fires (every 30-seconds), the FileSystemWatcher is temporarily disabled and this causes a significant memory leak on Windows 2000 platforms (approx 10Kbytes every time)
The problem does not seem to occur on Windows XP platforms
We have also found that the leak does not occur on Windows 2000 platforms when running a C# Windows applicatio
instead of a service (i.e. using System.Windows.Forms.Timer instead of System.Timers.Timer)
Has anyone else experienced anything like this?