Click here to Skip to main content
15,884,537 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi!

I am developing a project on windows phone 8 using xaml and C#. At the end,I found some memory leak issues on my application. I set the memory counter for each and every pages and it keep on increasing when I have navigated from forth and back. And It never reclaim the increased memory. I tried to find out the exact part of coding of which is responsible for memory leakage by using performance tool for windows phone 8. But nothing help me out. I have putted garbage collection on Unload page event of each and every pages. But it cannot resolved the issue. I try by unsubscribing the events which has been registered on every pages. I dispose all the unused objects also. I need some tools which can pin point the
code responsible for memory leakage.


Thanks in Advance.
Posted
Comments
Dave Kreskowiak 24-Jun-14 9:54am    
What are you using to see the exact amount of memory being used? Certain tools will tell you that the app is leaking when it's not because they don't understand how memory allocation works in .NET.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900