On Thu, Apr 08, 2010 at 10:34:12AM +0200, Alessandro Guerra wrote: > from my experience I can tell that it's a matter of ram memory > fragmentation. > uClinux doesn't defragment the ram memory, so the real free memory is > less then the one shown in cat /proc/meminfo!!! > I have an identical problem on a Coldfire! I asked to upgrade the ram > memory in order to avoid this problems...
I had that issue too on coldfire (with 8MB ram). Putting busybox on a diet so that it eventually required less than 64k for data+bss+stack, helped a lot (it was using 67k which of course means allocating 128k using the power of 2 allocator). Suddenly a lot more ram is free. Since I use a ramdisk, using data compressed FLAT binaries reduced the ramdisk size as well and using hardlinks saved one page per busybox program compared to using symlinks (which apparently each allocate one page when loading an initramfs). -- Len Sorensen _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev