WP7 墓碑清理内存
在网上查看了几篇有关内存使用情况的帖子后,例如 http://nicksnettravels.builttoroam.com/post/2011/02/10/Windows-Phone-7-Navigation-Memory-Usage.aspx 和 strugglug 在我自己的应用程序中出现类似问题,我正在尝试减少内存占用,但基本上没有成功,
我确实注意到对应用程序进行逻辑删除并重新启动它会释放我想要释放的所有内存,那么是否有一个如何在后台手动删除应用程序或至少执行与应用程序仍在运行时执行的操作类似的操作?
after looking at several posts online about memory usage like this one http://nicksnettravels.builttoroam.com/post/2011/02/10/Windows-Phone-7-Navigation-Memory-Usage.aspx and strugglug with similar issues in my own app, I am trying to reduce the memory footprint but have been largely unsuccessful
I did notice that tombstoning the app and relauching it releases all the memory I wanted to release, so is there a way to manually tombstone the app in the background or atleast do things similar to what it does while the app is still running?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
逻辑删除基本上会重新启动您的应用程序,因此在用户没有注意到的情况下,这是不可能在后台进行的。
Tombstoning basically restarts your app, so this is not possible in the background without the user noticing it.