I am developing an news application base on Rss, when I am lading more number of data it is showing an error "Out of memory.Restart Ovi Browser" Any Idea, how can I solve this problem, in which cases I have to load huge data.
I am developing an news application base on Rss, when I am lading more number of data it is showing an error "Out of memory.Restart Ovi Browser" Any Idea, how can I solve this problem, in which cases I have to load huge data.
Load less data (at a time), and discard data you no longer need.
I am loading the data partially. If I am loading 5 data every time after 15 data load I am getting the "Out of memory.Restart Ovi Browser" error & its closing the ovi browser but If I am specifying hard coded value to load more than 50 data at the bignning that time I'm not getting that error & browser also is not closing.
It's hard to say the reason without seeing the code and/or RSS data.
In general, however, I'd recommend pre-processing the RSS i.e. in PHP-server if the amount of data is excessive compared to what is displayed to the user. That way you can also build your own caching etc, so the users are not forced to load large amounts of data if not really needed. (Ovi Browser takes care of this to some extent, yes)
But, as said, in this case it's really difficult to give any better guesses without going into the code/data.
I have this situation when dealing with more than 10 news per feed. To overcome the situation, I limit my application to only handle MAX 10 news.
Thanks all of you. I have checked my code, this is not the matter of memory, this is the problem with Ovi Browser. I have tested the News Reader example which is published on 19th April, the same problem is happening with that application also, after some time Ovi Browser is getting close.