Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6552605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:28:47+00:00 2026-05-25T12:28:47+00:00

We have a web service iPhone app which fetches short texts (no graphics) in

  • 0

We have a web service iPhone app which fetches short texts (no graphics) in increment of 10 records – user can load more records by pressing ‘load more’ button. (akin to ‘load 25 more’ in default ‘App Store’ App)

Currently, NSXMLParser is used to parse the XML, the records are stored then in NSMutableArray, and new records (from ‘load more’) are appended to the array.

Now, we are experiencing two problems, which we believe are related to our current method of storing the records into the RAM. These are:

  1. In low memory conditions, when we switch back to the App from app switcher, and then press ‘back’ button from the detail view, App either crashes or reloads the table view!
  2. After having just 400 records loaded the app crashes!

To combat these issues, will, just storing the records into SQLite (or Core Data) instead of an array, do it? Or we need to do something more/different?

Please guide!

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T12:28:48+00:00Added an answer on May 25, 2026 at 12:28 pm

    resolved it… after reading @Steven’s comment… I got convinced that it was not memory issue… so, I digged further, & found the issue.

    Actually, I have a deselectRowAtIndexPath method in tableview. And in low memory environment, iPhone releases the records stored in memory… so, in that situation, deselectRowAtIndexPath was pointing to nothing, which was causing the crash… modified & resolved it now!

    Thanks!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web service written in PHP to which an iPhone app connects
I have a currency converter application for iphone which uses web service. The web
I have a Mobile App (iPhone and Android) which allows user to login to
I'm developing an iphone app and I have a JSON from web service as
I have a little iPhone app that loads data from a web service. To
Im writing an iPhone app which retrieves data from a web service as XML.
I have an iPhone application , which is consuming a Soap web service. When
I have web service, which use integrated security in IIS. Now, I want to
When I call, the service's method, I have Web Service Exception happening which I
I have to create a web service for iPhone. So I would like to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.