Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Mar 2005 15:36:26 +0100
From:      Anthony Atkielski <atkielski.anthony@wanadoo.fr>
To:        freebsd-questions@freebsd.org
Subject:   What's the minimum memory for a process in FreeBSD 5.3?
Message-ID:  <1108086284.20050306153626@wanadoo.fr>

next in thread | raw e-mail | index | archive | help
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.

Where are the extra 1.2 million bytes coming from?  What's the
rock-bottom minimum size for a process in FreeBSD 5.3?

For comparison, the same program running under Windows XP uses about
1,372,160 bytes.

-- 
Anthony




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1108086284.20050306153626>