黑莓 PhoneGap 应用程序在出现内存不足错误后关闭
我正在为黑莓智能手机构建一个phonegap应用程序。我使用的是phonegap 版本1.3.0
在我的应用程序中,在我的第一页加载后,经过一些滚动和探索,我收到一个对话框,要求我关闭打开的应用程序,因为内存太低,唯一打开的应用程序是我的。如果忽略这一点,一分钟后就会出现另一个对话框说抱歉!内存太低,因此关闭此应用程序。
有时我也会收到一条错误消息,指出页面太大而无法加载,并且页面(和应用程序)已关闭。
我的应用程序由 6-7 个页面组成,只有几个页面很大并且有很多图像(大约 25 个)。这些图像会引起问题吗?无论如何,下载和使用的数据不超过5MB。
谁能告诉我该怎么做才能解决这个问题?
I am building a phonegap app for blackberry smartphones. im using phonegap version 1.3.0
in my app, after my first page loads, on a bit of scrolling and exploring, i get a dialog asking me to close the open apps as memory is too low and the only app open is mine. On ignoring that after a minute another dialog comes saying sorry! the memory is too low so closing this app.
also sometimes i get an error saying that the page is too large to load and the page (and the app) is closed.
my app consists of 6-7 pages and only a couple of pages are big and have many images (about 25). can the images be causing a problem? in any case the data downloaded and used does not exceed 5MB.
Can anyone tell me what to do in order to remedy this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
似乎是 webworks 和某些型号的 Blackberry 手机的已知问题 - 请参阅以下内容 线程 讨论这个具体问题。这是一个问题,一些建议是迁移到 Webworks 2.2,但即使这样也不能解决它。 (我们也面临同样的问题,希望 BB 尽快解决)。
Seems to be a known issue with webworks and certain models of Blackberry phones - See the following thread for a discussion on this specific problem. This is an issue with Some suggestions are to move to Webworks 2.2 but even this does not fix it. (We are facing the same issues as well and hopefully BB fixes it soon).