From: Kfir Lavi <lavi.kfir@gmail.com>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] Small standard system take 84MB of ram after startup. How to lower memory footprint?
Date: Thu, 17 Jan 2013 06:20:16 +0200 [thread overview]
Message-ID: <CAHNvW1JXrSSrZXYrW3nLfJQDYQ2qZikVYVSDrntykszjUBDWvQ@mail.gmail.com> (raw)
In-Reply-To: <201301161605.43584.vapier@gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 700 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1159 bytes --]
next prev parent reply other threads:[~2013-01-17 4:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-16 20:46 [gentoo-embedded] Small standard system take 84MB of ram after startup. How to lower memory footprint? Kfir Lavi
2013-01-16 21:05 ` Mike Frysinger
2013-01-17 4:20 ` Kfir Lavi [this message]
2013-01-17 9:25 ` Markos Chandras
2013-01-17 10:43 ` Kfir Lavi
2013-01-17 10:46 ` Kfir Lavi
2013-01-18 15:19 ` Christian Bricart
2013-01-18 19:37 ` Mike Frysinger
2013-01-21 11:32 ` Bertrand Jacquin
2013-01-22 12:53 ` Peter Stuge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHNvW1JXrSSrZXYrW3nLfJQDYQ2qZikVYVSDrntykszjUBDWvQ@mail.gmail.com \
--to=lavi.kfir@gmail.com \
--cc=gentoo-embedded@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox