Re: malloc was optimized out
Re: malloc was optimized out
- Subject: Re: malloc was optimized out
- From: Steve Sisak <email@hidden>
- Date: Tue, 05 Jul 2016 12:34:29 -0400
On Jul 5, 2016, at 12:30 PM, Jens Alfke <email@hidden> wrote:
On Jul 5, 2016, at 9:26 AM, Steve Sisak < email@hidden> wrote:
If your customer is on a SAN with 250GB free it will work — also it gives you the option of backing your huge allocations on a different drive (or drives) than the system VM.
Yup. But subject to the usual caveat about mmap on non-boot volumes: If the volume is disconnected (e.g. cord yanked out, or a network partition) all of the mapped memory gets unmapped and will segfault on the next access.
Good point — but for what he’s doing (large mathematical simulations), that’s probably a fair tradeoff.
(They’ll have to re-run the simulation, but nobody’s going to die)
-Steve
|
_______________________________________________
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