>> Using stringWithContentsOfFile I can load an NSString with the contents
>> of a file (obviously).
[quoted text clipped - 17 lines]
> address space; I wouldn't necessarily expect great performance handling
> a 3GB string on a machine with 512MB of RAM, for example.
Overall performance would be a major factor for me, and I expect the
largest file I'd be handling this way would be in the 1GB region, but
mostly in the 250MB range.
Thanks for the info.
Jim

Signature
Find me at http://www.ursaMinorBeta.co.uk
My lucky star is probably Eta Carinae.
Tom Harrington - 24 May 2007 18:27 GMT
> Overall performance would be a major factor for me, and I expect the
> largest file I'd be handling this way would be in the 1GB region, but
> mostly in the 250MB range.
Depending on what you're doing with these files, you might want to
consider loading them as memory-mapped files. NSData objects can be
initialized this way, and you should be able to get an NSString from
there.

Signature
Tom "Tom" Harrington
MondoMouse makes your mouse mightier
See http://www.atomicbird.com/mondomouse/