From owner-freebsd-hackers Wed Oct 8 14:22:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA15399 for hackers-outgoing; Wed, 8 Oct 1997 14:22:36 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA15394 for ; Wed, 8 Oct 1997 14:22:32 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id OAA23309; Wed, 8 Oct 1997 14:23:32 -0700 (PDT) Message-Id: <199710082123.OAA23309@implode.root.com> To: Terry Lambert cc: hackers@FreeBSD.ORG Subject: Re: Wheres all my memory going? In-reply-to: Your message of "Wed, 08 Oct 1997 20:57:56 -0000." <199710082057.NAA11442@usr05.primenet.com> From: David Greenman Reply-To: dg@root.com Date: Wed, 08 Oct 1997 14:23:32 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> FreeBSD and other 4.4BSD derived OSes don't include the space consumed by >> mmap'ed files (except the one being execed) in the 'SIZE'. The virtual size >> as reported is the sum of text+data+bss+heap+stack. This is a "bug" of sorts, >> but is difficult to fix. > >You mean "clean pages which have not triggered copy-on-write are not >counted", right? No, I mean mmap'ed files (excluding the original executable) aren't counted in the virtual size at all, ever - modified or not. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project