Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User monima's Avatar
    Join Date
    Mar 2011
    Posts
    8
    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.

  2. #2
    Nokia Developer Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,414
    Load less data (at a time), and discard data you no longer need.

  3. #3
    Registered User monima's Avatar
    Join Date
    Mar 2011
    Posts
    8
    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.

  4. #4
    Registered User rosti's Avatar
    Join Date
    Jun 2010
    Location
    Tampere, Finland
    Posts
    4
    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.

  5. #5
    Registered User artinteg's Avatar
    Join Date
    Feb 2011
    Posts
    45
    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.

  6. #6
    Registered User monima's Avatar
    Join Date
    Mar 2011
    Posts
    8
    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.

Similar Threads

  1. Memory Out of bound exception
    By ayyanar7 in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2010-03-31, 13:13
  2. periodicly displaying images to out of memory exception
    By milandoj in forum Mobile Java General
    Replies: 3
    Last Post: 2009-12-11, 19:06
  3. Out of Memory Exception in
    By honest_success in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2009-09-10, 20:14
  4. Out of Memory Exception
    By rakesh.pachawa in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2007-12-08, 12:49
  5. out of memory exception while loading an svg
    By shydisturbedboy in forum Mobile Java General
    Replies: 0
    Last Post: 2007-09-24, 05:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved