Re: - [NSBitmapImageRep tiffRepresentation] malloc error
Re: - [NSBitmapImageRep tiffRepresentation] malloc error
- Subject: Re: - [NSBitmapImageRep tiffRepresentation] malloc error
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 12 Dec 2008 18:54:11 -0700
On Dec 12, 2008, at 6:46 PM, Jonathon Kuo wrote:
Is there a function that allocates contiguous RAM? You mean VRAM,
right? I thought anything you malloc'd is VRAM, and gets mapped any
which way into real RAM by the OS, so contiguity of the real RAM is
not an issue, only of process VRAM?
Yes, I mean VRAM, but it still must be contiguous. This is why it is
possible to be using 2.5 GB of your 4 GB max. heap and have a 1 GB
allocation fail; if something is holding onto a few bytes out in the
middle of nowhere, and there isn't a contiguous 1 GB available, well,
sorry.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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