05-03-2012 11:13 AM
I am developing an WebWork app which calls a lot of html pages and java script function on these pages and display it on the page. The problem we have encountered is that after we have install it on 9800 torch ,after we have used the app to load data for a few times, the app will say "Device Memory is Low" and request to close some opened application......
On opened my application only and we have only used it for while, and after a few more click, the system will force the app to quit.
Please help me out of this .
Please suggest if there any professional help for the same.
I have applied memory cleaning enable on device and increase the size of cache used in app by setting it in config file . Even when i take 2 or 3 html pages with 4-5 images and navigate between tham i got the same error.
My cod file is of size 1.2MB and it takes upto 40 MB at run time and going over and gets close by OS itself forcefully.
Can we clear cache between html pages . I have used localstorage.clean(); on html page as well but no sol.
Thanks in advance for any help in this.
RIM PLEASE HELP OR ANYONE BETTER THEN RIM, PLEASE HELP!!!
05-04-2012 07:00 AM
Whenever i login the facebook account it goes to my facebook home screen and then immediately it shows me this alert message "Memory is low.. Some of the applications will be closed" and then it crashes my application..
Memory issue is there.. Can anyone help me to solve this problem..
05-07-2012 11:35 AM
To be frank, I have pretty much given up on blackberry development. Its just too frustrating to get a really good app done that is fuctionally rich and data intensive.This is of course for the bb5 devices which in my market account for over 90% of all users.
05-09-2012 10:08 AM
I tested my application in 9800 torch..
I am also too frustrating and struggling by this memory issue..
I am also used child browser plugin for blackberry.. When i open some external url in child browser it shows me the same memory issue message like Memory is very low.. some applications will be closed..
The latest webworks sdk also didnt able to solve my problem..
Waiting for reply from any RIM guys..
05-09-2012 05:22 PM
On a BlackBerry smartphone running BB6/BB7 there is a finite amount of memory set aside for web views which are used in a WebWorks application or a Java application. BB5(doesn't have webkit)/BB10/PlayBook do not run this way. They consume the shared memory on the device.
All apps on the device share the same WebKit instance so everyone shares the same 40MB space. Think of each app using a web view as creating a "virtual tab" in the same web kit instance.
Once one or more applications use up all the physical memory allocated for that process there isn't anything that can be done to grow the amount of memory.. the cup is full of water.