Re: malloc errors / fragmentation?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=eDB/ib+zCxWzubT22d7tqzvk1chPShS+TXP+zwrsOFc=; b=F/IwQu7MsGJVVHXfl4O1SGYDOQHwvCHso9douvrXC3lQIiagTtGDFWIIB8yV7kZ1f3 dlTQs3O2HPNUewbw5taoVchBujjK2AEqFB/1KcWR89wCZXWmE3Q3Wo+sl1mUGPEn+J1j s1NjfMr+/PH0U8ruwuUYdSukFNhGey1rdVcyA= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=n8yv7QO4+b4LiVMI83NGlgnZYDkK76CHngKrrYk4gWrfNgK2dqX+ssBWFLHeq2Oluk M0xmh3Gg1HEBjmFvn1ZrK0Y1jxagCwjkDWnAl5G0Kd9BatZZfjS5xDaAshzFsoleT8CU llR/Vg7nE09ju68c3xycYuUcxu0klmJb5R+Ws= On Fri, Oct 31, 2008 at 8:23 AM, Jay Levitt <lists-darwin-dev@jay.fm> 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.
vmmap lists the virtual memory ranges that have been mapped you could do a little math to figure out what is available. -Shawn _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Shawn Erickson