From owner-freebsd-hackers Tue Oct 31 10:23: 2 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id B827737B479 for ; Tue, 31 Oct 2000 10:22:56 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.0/8.11.0) id e9VIMcn17780; Tue, 31 Oct 2000 20:22:38 +0200 (EET) (envelope-from ru) Date: Tue, 31 Oct 2000 20:22:38 +0200 From: Ruslan Ermilov To: les@safety.net Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Runtime memory footprint Message-ID: <20001031202238.A13513@sunbay.com> Mail-Followup-To: les@safety.net, freebsd-hackers@FreeBSD.ORG References: <200010311817.LAA90886@ns3.safety.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200010311817.LAA90886@ns3.safety.net>; from les@ns3.safety.net on Tue, Oct 31, 2000 at 11:17:22AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Oct 31, 2000 at 11:17:22AM -0700, Les Biffle wrote: > What determines the runtime memory footprint of a process? I have small > daemons that occupy 25K on disk, don't malloc anything to speak of, but > are 440K to 1024K in memory, according to top and ps. For that matter, > just about nothing in my "ps" display is under 400K. The daemons are > dynamically-linked. Is there anything I can do to reduce the memory > footprint? > Have them statically-linked and stripped. -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message