• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSXMLParser useless with HUGE files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSXMLParser useless with HUGE files


  • Subject: Re: NSXMLParser useless with HUGE files
  • From: Annard Brouwer <email@hidden>
  • Date: Wed, 14 Dec 2005 16:43:01 +0100

On 14 Dec 2005, at 16:26, Matt Gough wrote:

I have a 1.91GB (2,048,406,952 bytes to be precise) xml file that I am trying to parse. I thought that NSXMLParser would be able to cope with it, but it can't as it fails with NSXMLParserOutOfMemoryError.

Maybe Expat might be useful here (<http://www.cocoabuilder.com/ archive/message/cocoa/2005/10/6/147666>).

<snip>
BTW - Can anyone suggest a text editor that is able to work with such a file so that I can chop it down into more manageable portions that I can parse individually and then merge the results?

Files of this size are no problems with emacs in all its incarnations...

Annard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: NSXMLParser useless with HUGE files
      • From: Matt Gough <email@hidden>
References: 
 >NSXMLParser useless with HUGE files (From: Matt Gough <email@hidden>)

  • Prev by Date: Fwd: WWDC 2005 DVDs [OT]
  • Next by Date: Re: X.4 formatters behaviour and nil value ?
  • Previous by thread: NSXMLParser useless with HUGE files
  • Next by thread: Re: NSXMLParser useless with HUGE files
  • Index(es):
    • Date
    • Thread