Hello Christoph,
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...

Hope this can help you!
Regards,
Alessandro




Christoph Baumann ha scritto:
Hello all,

working on an application for an ARM target (no MMU!) with uClinux I ran
into a strange problem. When I try to allocate 4MB of RAM the allocation
fails. If I then try to allocate 4MB minus 4k (one page) it works. But
then no other application can allocate memory until the first
application either frees its memory again or gets killed by the kernel
to make more RAM available. /proc/meminfo shows that there are ~10MB of
free RAM.
Meanwhile I checked the value of MAX_ORDER which is set to 13.
So any ideas out there?

Thanks and Regards,
        Christoph
_______________________________________________
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



--
Alessandro Guerra
Autron srl
via per Mirandola, 8
41033 Concordia s/S (MO) - Italy
Tel   : +39-0535.57276
Fax   : +39-0535.412795
web: http://www.autron.net
mailto: ague...@autron.net

PRIVACY
Ai sensi della D.Lgs. 196/03 si precisa che le informazioni contenute in questo 
messaggio sono riservate ed a uso esclusivo del destinatario. Qualora il 
messaggio in parola Le fosse pervenuto per errore, la preghiamo di eliminarlo 
senza copiarlo e di non inoltrarlo a terzi, dandocene gentilmente 
comunicazione. Grazie.

DISCLAIMER
This message, for the law 196/03, may contain confidential and/or privileged information. If you are not the intended recipient or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.
_______________________________________________
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