Re: NSData dataWithContentsOfMappedFile with huge files?
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