Thanks for the explanation Larry.

Meanwhile I've read some stuff about non-MMU memory alocation (I had
the wrong idea of how memory was allocated).
I guess my system ram is not that much (only 8Mb)...

How would shared libs solve the problem?
The problem is allocating memory for 'ls' data and not 'ls' itself. Is
this correct?


Thanks


On Mon, Oct 29, 2012 at 5:49 PM, Larry Baker <ba...@usgs.gov> wrote:
> Luis,
>
> On 29 Oct 2012, at 8:32 AM, Luis Alves wrote:
>
> DMA: 36*4kB 30*8kB 29*16kB 21*32kB 6*64kB 7*128kB 4*256kB 3*512kB
> 0*1024kB 0*2048kB 0*4096kB = 5360kB
>
>
> The largest block of memory your system has available is 524288 (512*1024).
>
> Allocation of length 528384 from process 94 (ls) failed
>
>
> The requested size is larger than that, so uClinux tries to allocate the
> next larger block size (1024K).  There are none available.
>
> Any sugestion?
>
>
> I do not know what determines how much memory ls allocates.
>
> I have similar memory allocation failures on my system.  It does not appear
> to use a shared uclibc.  I do not know (yet) how to enable building a shared
> uclibc or how to change the builds to use it.  If the instructions are
> straightforward, I would like to hear from someone.
>
> Regards,
> Luis
> _______________________________________________
> 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
>
>
> Larry Baker
> US Geological Survey
> 650-329-5608
> ba...@usgs.gov
_______________________________________________
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

Reply via email to