• 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: Robert Martin <email@hidden>
  • Date: Sun, 27 Aug 2006 15:21:38 -0400

You might want to take a look at: http://ridiculousfish.com/blog/ archives/2006/08/24/hex-fiend-11/

Rips through files of gigantic size!


On Aug 27, 2006, at 2:29 AM, Cameron Hayne wrote:

On 25-Aug-06, at 4:54 PM, Shawn Erickson wrote:

If NSData does a straight contiguous mapping (which it likely has to
do given its API) the limit is just a little over 2 GiB in size
(assuming a clean application heap).

Hmm, that makes sense. I guess it was wishful thinking - I was hoping that it might do something super-smart behind the scenes such that it could cover more than that as long as you didn't ask for too large a chunk of 'bytes' at any one time.


--
Cameron Hayne
email@hidden


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


This email sent to email@hidden


_______________________________________________ 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: NSData dataWithContentsOfMappedFile with huge files?
      • From: Cameron Hayne <email@hidden>
References: 
 >NSData dataWithContentsOfMappedFile with huge files? (From: Cameron Hayne <email@hidden>)
 >Re: NSData dataWithContentsOfMappedFile with huge files? (From: "Shawn Erickson" <email@hidden>)
 >Re: NSData dataWithContentsOfMappedFile with huge files? (From: Cameron Hayne <email@hidden>)

  • Prev by Date: Artifacts during text selection
  • Next by Date: Re: NSData dataWithContentsOfMappedFile with huge files?
  • Previous by thread: Re: Re: NSData dataWithContentsOfMappedFile with huge files?
  • Next by thread: Re: NSData dataWithContentsOfMappedFile with huge files?
  • Index(es):
    • Date
    • Thread