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 8334309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:18:12+00:00 2026-06-09T03:18:12+00:00

i want to parse large xml file in iPhone and i have tried touch

  • 0

i want to parse large xml file in iPhone and i have tried touch xml , gData and other xml parsers including SAX parsers .. my app crashes after parsing xml files or during parsing xmls because it keeps 40 MB of data in memory
What would be the best way to parse large xml files ? i want to parse the data and insert it into core data.

Thanks Much

  • 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-06-09T03:18:15+00:00Added an answer on June 9, 2026 at 3:18 am

    From this article (under “Which to Choose” section):

    If you want to read extremely large XML documents, performance is the
    critical issue here. You’ll want to consider libxml2 SAX, TBXML, or
    libxml DOM for this, depending on what your exact situation is.

    If you are parsing properly you shouldn’t be holding 40MB of parsed data in memory. Be sure to batch insert the data into Core Data as you are parsing to avoid causing a memory warning and a crash of your app.

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

Sidebar

Related Questions

I want to parse a large XML file and I have two options: Perl
I have several large .xml files. I want to parse out the files to
I have a large txt file thar I want to parse in my web
I want to parse some large XML file using linq to XML but I
I am using SAX to parse some large XML files and I want to
I have a large XML file ( around 1mb ) . i want to
I have a 1.6gb xml file, and when I parse it with Sax Machine
Scenario I want to parse a large CSV file and inserts data into the
I want to parse the xml file with dynamic content using DOM parser in
I want to parse xml file in utf-8 and sort it by some field.

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.