Memory leak

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.
 
A

aevans

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top