Memory leak?

akmoller
I've created a simple WinCE 6.0 .net 2.0 application with a form that fires
at 10 sec interval a procedure that writes the ullAvailPhys value
(available physical memory) of GlobalMemoryStatus() in a file. Basically
i'm monitoring the memory load.
The application doesn't do anything else, but the memory slowly but
steadily decreases (it ran for a couple of hours without user interaction).
Is this a normal thing? The timer is a normal system.timer, no threading
involved.

Cristian
Hello,

I'm experiencing the same problem. I cleaned the code as much as I could
but still leaking.

Running the same application in desktop doesn't cause leaks, and using
GC.Collect periodically (just to test) doesn't solve the increase in memory
usage.

Using Windows.Forms timer.

Did you solve the problem?

Help is appreciated, thanks.