Re: NSData dataWithContentsOfMappedFile with huge files?
Re: NSData dataWithContentsOfMappedFile with huge files?
- Subject: Re: NSData dataWithContentsOfMappedFile with huge files?
- From: Cameron Hayne <email@hidden>
- Date: Sun, 27 Aug 2006 02:29:46 -0400
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:
This email sent to email@hidden