AIR 应用程序在一段时间后没有响应
我有一个使用许多swc的Adobe AIR应用程序,我面临一个拦截器,当用户超过半小时不与我的AIR应用程序交互并且当用户返回时,应用程序没有响应,我也尝试backgroundFramerate = -1,但无济于事,请帮助我任何人...
I have Adobe AIR application that uses many swc's, i facing a blocker that when user dont interact with my AIR application more then half an hour and when user return back, the application not responding, i aslo try backgroundFramerate=-1, but no avail, please help me any one...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要运行 Profiler 并查看发生了什么。 Flash Builder 有一个内置的配置文件来监视应用程序。运行配置文件并观察图表,它将帮助您隔离内存泄漏或其他问题。以下是一些文档: http://help.adobe.com/en_US/flashbuilder/using/WS6f97d7caa66ef6eb1e63e3d11b6c4d0d21-7e46.html
如果您没有 Flash Builder,您还可以获得一些调试信息并显示它。检查这篇文章:是否可以分析 Adobe AIR 应用程序内的 CPU/内存?
You need to run the Profiler and see what's going on. Flash Builder has a built in profile that will monitor the application. Run the profile and watch the graphs and it will help you isolate a memory leak or other issues. Here's some documentation: http://help.adobe.com/en_US/flashbuilder/using/WS6f97d7caa66ef6eb1e63e3d11b6c4d0d21-7e46.html
If you don't have Flash Builder you can also get some debugging information and display it. Check this post: Is it possible to profile CPU / memory inside an Adobe AIR application?