Re: Details on: "malloc: *** mmap(size=16883712) failed (error code=12)"
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On May 12, 2008, at 12:04 PM, darwin-dev-request@lists.apple.com 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 = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Smith