From: hari on 18 Mar 2010 05:06 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.
From: aevans on 16 Apr 2010 06:53 On 18 Mar, 10:06, hari <h...(a)discussions.microsoft.com> wrote: > 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/archive/2007/03/08/finding-managed-memory-leaks-using-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.
|
Pages: 1 Prev: How to protect my app Next: System.Environment.OSVersion |