How i can implement memor开发者_Python百科y clean up in WP7? Does GC.Collect() do the trick? or need clean up manually?
You don't need to manually clean up memory on Windows Phone. You shouldn't call GC.Collect()
unless it's absolutely necessary.
I would recommend you read this article: Windows Phone 7 App Development: When does the GC run
As Claus mentioned, the GC handles memory cleanup for you. If you are asking because you are running into memory usage issues, you can use the profile your memory usage using the Windows Phone Profiler (as long as you are targetting 7.1).
精彩评论