Date: Sun, 21 Jan 2001 07:46:06 -0200 From: Gustavo Vieira Goncalves Coelho Rios <gustavo@ifour.com.br> To: questions@freebsd.org Subject: small program eats lot of memory Message-ID: <3A6AAFDE.165F003E@ifour.com.br>
next in thread | raw e-mail | index | archive | help
I compiled and executed a small program and it's eating about 336 of real memory (rss) and 840 of virtual size memory (vsz), may some one explain why a simple program eats about 1 MB of memory? How big is the sleep function ? The source code is: #include <stdio.h> #include <stdlib.h> int main(void) { sleep(300); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A6AAFDE.165F003E>