Re: large memory malloc
Re: large memory malloc
- Subject: Re: large memory malloc
- From: Lawrence Gold <email@hidden>
- Date: Thu, 30 Jun 2005 19:17:50 -0600
James E. Hopper wrote:
> i have a simple xcode project that does a malloc that for the latest
> data set has grown to just under 3gb. the malloc is failing (on
> 10.3.9). since i have 4gb of ram and the docs imply i can access up to
> 4gb space without having to go to 64 bit addressing, i was hoping there
> was something simple i could do to make this work?
>
> docs for ld on linux speak of an option --heap that lets you set the
> max heap size, but this is not available on the os x linker.
I'm not certain if it would do what you want, but it might be worth
exploring mmap():
man mmap
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden