What's the minimum memory for a process in FreeBSD 5.3?
Roland Smith
rsmith at xs4all.nl
Sun Mar 6 08:40:22 PST 2005
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.
>
> 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
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050306/6aedd188/attachment.bin
More information about the freebsd-questions
mailing list