Subject: memory consumption of crunched binaries
To: 'tech-kern@netbsd.org' <tech-kern@netbsd.org>
From: Aaditya Rai <ARai@rhapsodynetworks.com>
List: tech-kern
Date: 11/15/2001 11:14:32
Hi all,
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.)
thanks!
Aaditya