Memory leak

  • Thread starter Thread starter hari
  • Start date Start date
H

hari

Hello,

I am working on an Application for a WINCE device. I have written my
application in C# (Compact framework)which runs on a WINCE device. In my C#
code i will call the C/C++ functions also. Now I am facing the problem of
memory leak.

Anybody please tell me how to find the memory leaks in C# device applications?

Thanks in advance.
 
Hello,

I am working on an Application for a WINCE device. I have written my
application in C# (Compact framework)which runs on a WINCE device. In my C#
code i will call the C/C++ functions also. Now I am facing the problem of
memory leak.

Anybody please tell me how to find the memory leaks in C# device applications?

Thanks in advance.

I used the remote performance monitor.. There is a blog posting here
on how to use it:
http://blogs.msdn.com/stevenpr/arch...ng-the-net-cf-remote-performance-monitor.aspx

You can take a snap shot of the GC heap before and after using the app
to see where you have objects lying around... Took me a while but
eventually removed most of the problems from our app.
 
Back
Top