From owner-freebsd-questions Fri Aug 6 4:38:52 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.toplink.net (mail.toplink.net [195.2.171.8]) by hub.freebsd.org (Postfix) with ESMTP id E6BCF14F53 for ; Fri, 6 Aug 1999 04:38:37 -0700 (PDT) (envelope-from ck@toplink.net) Received: (from uucp@localhost) by mail.toplink.net (8.9.3/8.9.3) with UUCP id NAA18358; Fri, 6 Aug 1999 13:36:50 +0200 (CEST) From: Christian Kratzer Received: from localhost (ck@localhost) by hirvi.toplink.net (8.9.3/8.9.3) with ESMTP id NAA01212; Fri, 6 Aug 1999 13:30:03 +0200 Date: Fri, 6 Aug 1999 13:30:03 +0200 (MEST) To: "Ronald F. Guilmette" Cc: questions@FreeBSD.ORG Subject: Re: Per-process memory overhead In-Reply-To: <16692.933931719@monkeys.com> Message-ID: X-NCC-RegID: de.toplink X-Spammer-Kill-Ratio: 75% X-Jihad: Will hunt down all cases of Spam and Net abuse. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, On Fri, 6 Aug 1999, Ronald F. Guilmette wrote: > > Can someone please explain to me why the following trivial program > shows up on both a `ps' listing and also when using `top' as having > a size of 136 KB? I can't tell you exactly where this is all going but on one hand the runtime environment needs some memory as workspace and also the os needs some memory per process. Processes are NOT very lightweit under unix. You will want to look into some thread support for running lots of small processes. Greetings Christian -- TopLink Internet Services GmbH ck@171.2.195.in-addr.arpa Christian Kratzer http://www.toplink.net/ Phone: +49 7032 2701-0 Fax: +49 7032 2701-19 FreeBSD spoken here! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message