On 17 January 2013 04:20, Kfir Lavi <[email protected]> wrote: > > > On Wed, Jan 16, 2013 at 11:05 PM, Mike Frysinger <[email protected]> wrote: >> >> On Wednesday 16 January 2013 15:46:11 Kfir Lavi wrote: >> > I have created a small Gentoo system. It is based on glibc. >> > When it starts, I see use of 84MB and free is 33MB. >> > Using 'free -m' command. >> > How can I debug this issue, in order to lower the memory footprint? >> >> run `ps aux`. find & kill all unused services. >> -mike > > I don't have much of un essential services. Just agetty. But its not much. > What I'm asking, is there a compilation way to reduce footprint? > I used here -O2. I'll need to check with -Os to see difference. > It seems to me that it takes too much memory for small system like this. > > Kfir >
-Os is preferred for low memory systems. -- Regards, Markos Chandras / Gentoo Linux Developer / Key ID: B4AFF2C2
