From owner-freebsd-questions@FreeBSD.ORG Sun Mar 6 16:40:21 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E86E616A4CE for ; Sun, 6 Mar 2005 16:40:21 +0000 (GMT) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D06543D41 for ; Sun, 6 Mar 2005 16:40:21 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr3.xs4all.nl (8.12.11/8.12.11) with ESMTP id j26GeI6X005699; Sun, 6 Mar 2005 17:40:20 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 84B4160ED; Sun, 6 Mar 2005 17:40:18 +0100 (CET) Date: Sun, 6 Mar 2005 17:40:18 +0100 From: Roland Smith To: freebsd-questions@freebsd.org Message-ID: <20050306164018.GB68992@slackbox.xs4all.nl> Mail-Followup-To: freebsd-questions@freebsd.org, Anthony Atkielski References: <1108086284.20050306153626@wanadoo.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="L6iaP+gRLNZHKoI4" Content-Disposition: inline In-Reply-To: <1108086284.20050306153626@wanadoo.fr> User-Agent: Mutt/1.4.2.1i X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! Organization: Me, organized? X-Virus-Scanned: by XS4ALL Virus Scanner cc: Anthony Atkielski Subject: Re: What's the minimum memory for a process in FreeBSD 5.3? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 16:40:22 -0000 --L6iaP+gRLNZHKoI4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 06, 2005 at 03:36:26PM +0100, Anthony Atkielski wrote: > I wrote a very tiny program in C that occupies a mere 7417 bytes on > disk. When I run it, however, and look at it with top, it shows the > size as 1,208,320 bytes in total size, with 663,552 bytes resident. >=20 > Where are the extra 1.2 million bytes coming from? What's the > rock-bottom minimum size for a process in FreeBSD 5.3? Shared libraries, stack space, heap space. Roland --=20 R.F. Smith /"\ ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ / No HTML/RTF in e-mail http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail public key: http://www.keyserver.net / \ Respect for open standards --L6iaP+gRLNZHKoI4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCKzJyEnfvsMMhpyURAhvzAJ95V08ztZOR1KrX01itWmziJRG0kQCfRFV8 oGWFH0rh45+n27GsPo8r2Z4= =znd3 -----END PGP SIGNATURE----- --L6iaP+gRLNZHKoI4--