On 17 January 2013 04:20, Kfir Lavi <
lavi.kfir@gmail.com> wrote:
>
>
> On Wed, Jan 16, 2013 at 11:05 PM, Mike Frysinger <
vapier@gentoo.org> 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
>