Re: malloc errors / fragmentation?
Re: malloc errors / fragmentation?
- Subject: Re: malloc errors / fragmentation?
- From: Terry Lambert <email@hidden>
- Date: Fri, 31 Oct 2008 09:47:16 -0700
On Oct 31, 2008, at 8:23 AM, Jay Levitt <email@hidden> wrote:
Eric Gouriou wrote:
On Oct 30, 2008, at 3:41 PM, Jay Levitt wrote:
I'm seeing the same thing on my 16GB Mac Pro (early 2008, OS X
10.5.5). I'm getting crashes every few days in WindowServer or
coreservicesd; MenuMeters and Activity Monitor say I've got plenty
of available RAM (either unused or idle). system.log says:
system.log.0.bz2:Oct 29 14:35:19 macpro com.apple.coreservicesd
[89]: coreservicesd(89,0xa0220fa0) malloc: *** mmap(size=16777216)
failed (error code=12)
I suggest keeping top or Activity Monitor around and, when you see
a large
growth in RPRVT or when VSIZE gets around ~3GB, capture heap /
vmmap / leaks
Thanks - that helps a lot.
Is there a way for me to keep an eye on the "largest contiguous
block on the free list", or something like that? I haven't done any
dev on Darwin, so I don't know much about debugging it.
Address map entries track what's used, not what's available to be used.
You can iteratively examine the process with one or more of several
developer tools, and then look at the differences over time to track
free space.
-- Terry
_______________________________________________
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