Subject: Re: memory consumption of crunched binaries
To: None <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 11/15/2001 19:50:40
In article <45BEF1D68145D51186C100B0D0AABE6510495F@med.corp.rhapsodynetworks.com>,
Aaditya Rai <ARai@rhapsodynetworks.com> wrote:
Use shared libraries for the common code.
>I have a piece of hardware (custom) with constrained disk space and lots of
>ram. Since I had to put a lot of my programs on it, I decided to crunch all
>my programs and came up with a surprisingly small binary (about 8M instead
>of 35M). Everything was cool, untill I realized that each of my programs
>when run, occupy at least 9.1Mb RAM (as opposed to 800KB for non-crunched).
>Since most of them are daemons this is just not acceptable in my case :-(.
>I can understand why this could be happening, but is there a way to make
>them occupy less Ram when loaded...? (e.g. crunch them differently, or
>crunch libraries separately etc.)