×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    8

    Out of memory Exception if loading more number of 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.

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,553

    Re: Out of memory Exception if loading more number of data

    Load less data (at a time), and discard data you no longer need.

  3. #3
    Registered User
    Join Date
    Mar 2011
    Posts
    8

    Re: Out of memory Exception if loading more number of data

    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
    Join Date
    Jun 2010
    Location
    Tampere, Finland
    Posts
    4

    Re: Out of memory Exception if loading more number of data

    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
    Join Date
    Feb 2011
    Posts
    45

    Re: Out of memory Exception if loading more number of 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.

  6. #6
    Registered User
    Join Date
    Mar 2011
    Posts
    8

    Re: Out of memory Exception if loading more number of data

    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
  •  
×