* Re: not enough memory for SELF!?
[not found] <3C95D5E8.1C6989DD@imc-berlin.de>
@ 2002-03-18 12:54 ` Wolfgang Denk
2002-03-18 13:02 ` Steven Scholz
0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Denk @ 2002-03-18 12:54 UTC (permalink / raw)
To: Steven Scholz; +Cc: LinuxPPC
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: not enough memory for SELF!?
2002-03-18 12:54 ` not enough memory for SELF!? Wolfgang Denk
@ 2002-03-18 13:02 ` Steven Scholz
0 siblings, 0 replies; 2+ messages in thread
From: Steven Scholz @ 2002-03-18 13:02 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: LinuxPPC
Thanks for your reply!
> There are several options:
>
> * Add more RAM (which is obviously the simplest solution from the
> perspective of a software developer)
I will!
> * Reduce the size of the ramdisk - it defualts to 4 MB, but AFAIR
> only about 2.5 MB are used
How? My pRamdisk is only 955068 bytes large.
> * Don't use a ramdisk at all, but instead put your root filesystem
> into a cramfs or JFFS2 filesystem
Hmm? Is there a HOWTO for doing this?
Thanks,
Steven
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-03-18 13:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <3C95D5E8.1C6989DD@imc-berlin.de>
2002-03-18 12:54 ` not enough memory for SELF!? Wolfgang Denk
2002-03-18 13:02 ` Steven Scholz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox