Re: NSMutableArray + NSEnumerator = No Memory
Re: NSMutableArray + NSEnumerator = No Memory
- Subject: Re: NSMutableArray + NSEnumerator = No Memory
- From: "Igor Mozolevsky" <email@hidden>
- Date: Sat, 22 Sep 2007 21:11:05 +0100
On 22/09/2007, Igor Mozolevsky <email@hidden> wrote:
>
> 900,000,000 * 4 = 3,600,000,000 BYTES!!! MacOS X per application
> memory limit = 4GB (last time I checked), that's with all the UI
> candy, ObjC baggage, etc! Can you not process them a small bunch at a
> time?
>
> --
> Igor M.
Hmm... Seems I pressed send instead of save... Anyway, as I was
saying, do you actually need all of them in memory? The way I deal
with loading in large files before doing anything with them is that I
read a chunk in, process that, then read th next chunk into the same
memory space... Can't really comment any further as you've not really
said how the collection is structured or why you need N*N elements....
--
Igor M.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden