Re: Details on: "malloc: *** mmap(size=16883712) failed (error code=12)"
Re: Details on: "malloc: *** mmap(size=16883712) failed (error code=12)"
- Subject: Re: Details on: "malloc: *** mmap(size=16883712) failed (error code=12)"
- From: Michael Smith <email@hidden>
- Date: Tue, 13 May 2008 20:00:48 -0700
On May 12, 2008, at 12:04 PM, email@hidden wrote:
Sometimes I see messages like:
malloc: *** mmap(size=16883712) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
I'm trying to find more details about this message. Specifically,
what
is error code 12?
The default allocator is trying to allocate a ~16MiB chunk of virtual
space, but there are no holes left in the task address map into which
that will fit.
Eric is correct; you would want to start with vmmap to try to work out
what is causing the task address space to become fragmented. If you
aren't seeing significant paging activity, you may have allocations
being made but not used and thus possibly not cleaned up correctly.
= Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden