LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: Steven Scholz <steven.scholz@imc-berlin.de>
Cc: LinuxPPC <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: not enough memory for SELF!?
Date: Mon, 18 Mar 2002 13:54:13 +0100	[thread overview]
Message-ID: <20020318125418.7C3E1109F1@denx.denx.de> (raw)
In-Reply-To: Your message of "Mon, 18 Mar 2002 12:56:24 +0100." <3C95D5E8.1C6989DD@imc-berlin.de>


In message <3C95D5E8.1C6989DD@imc-berlin.de> you wrote:
>
> I started playing around with Wolfgang's SELF and busybox.
>
> For now I have only 8MB RAM.

Add more :-)

> When I try to telnet into my board I get
>
> / # Out of Memory: Killed process 13 (sh).
> Out of Memory: Killed process 1 (init).
> The system is going down NOW !!
>
> I am using Linux-2.4.4-2002-02-14 from ftp.denx.de with TQM860L_config.
>
> What can I do?

There are several options:

* Add more RAM (which is obviously the  simplest  solution  from  the
  perspective of a software developer)

* Reduce the size of the ramdisk - it defualts to  4  MB,  but  AFAIR
  only about 2.5 MB are used

* Don't use a ramdisk at all, but instead put  your  root  filesystem
  into a cramfs or JFFS2 filesystem

* Optimize the kernel  configuration  by  throwing  out  drivers  and
  filesystems  you  don't  need; the default configurations is _very_
  generic (with NFS, ext2, cramfs, JFFS, JFFS2, msdos filesystems).

Hope it helps,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
If this is a service economy, why is the service so bad?

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

       reply	other threads:[~2002-03-18 12:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3C95D5E8.1C6989DD@imc-berlin.de>
2002-03-18 12:54 ` Wolfgang Denk [this message]
2002-03-18 13:02   ` not enough memory for SELF!? Steven Scholz

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=20020318125418.7C3E1109F1@denx.denx.de \
    --to=wd@denx.de \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=steven.scholz@imc-berlin.de \
    /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