• 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: NSData dataWithContentsOfMappedFile with huge files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSData dataWithContentsOfMappedFile with huge files?


  • Subject: Re: NSData dataWithContentsOfMappedFile with huge files?
  • From: Andrew Farmer <email@hidden>
  • Date: Fri, 25 Aug 2006 11:57:23 -0700

On 25 Aug 06, at 10:46, Cameron Hayne wrote:
I tried to use the NSData dataWithContentsOfMappedFile method to get the data from a huge (80 GB) file - but it failed (returned nil).
I suspect that the problem is the size of the file since the same code works for smaller files.
Does anyone know what the size limit is for the use of 'dataWithContentsOfMappedFile' ?

Almost certainly either 2 or 4 GB. (2**31 or 2**32 bytes.)

Attachment: PGP.sig
Description: This is a digitally signed message part

 _______________________________________________
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

References: 
 >NSData dataWithContentsOfMappedFile with huge files? (From: Cameron Hayne <email@hidden>)

  • Prev by Date: searchTerms magic
  • Next by Date: Re: try/catch/throw/finally example?
  • Previous by thread: NSData dataWithContentsOfMappedFile with huge files?
  • Next by thread: Re: NSData dataWithContentsOfMappedFile with huge files?
  • Index(es):
    • Date
    • Thread