[BusyBox] Ash memory question/problem

Jeff Angielski jeff at theptrgroup.com
Mon Dec 15 21:49:33 UTC 2003


It would seem that everytime I run a command in the shell I lose another
4k of free memory.  This occurs with the original BusyBox 0.60.1 that
comes with the Denx ELDK 2.1 root filesystem (although I am running off
a JFFS2 filesystem).  It also occurs with Busybox pre3, pre3, and
today's unstable-12/15/2003.

If I do a lot of things on the system I eventually run out of memory and
the system comes to it's knees.

I was just wondering if anybody out there using the DENX filesystem and
Busybox is experiencing the same behavior.

Here is an example:
  
# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  14868480  5894144  8974336        0     4096  2637824
Swap:        0        0        0
MemTotal:        14520 kB
MemFree:          8764 kB  <=================
MemShared:           0 kB
Buffers:             4 kB
Cached:           2576 kB
SwapCached:          0 kB
Active:           1000 kB
Inactive:         3164 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:        14520 kB
LowFree:          8764 kB
SwapTotal:           0 kB
SwapFree:            0 kB
# ls
bin   dev   etc   ftp   home  lib   proc  sbin  tmp   usr   var
# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  14868480  5902336  8966144        0     4096  2637824
Swap:        0        0        0
MemTotal:        14520 kB
MemFree:          8756 kB  <====================
MemShared:           0 kB
Buffers:             4 kB
Cached:           2576 kB
SwapCached:          0 kB
Active:           1008 kB
Inactive:         3156 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:        14520 kB
LowFree:          8756 kB
SwapTotal:           0 kB
SwapFree:            0 kB
#






More information about the busybox mailing list