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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to