2008-03-07 05:59:35     malloc, 8MB, does not work...

Document created by Aaronwu Employee on Aug 5, 2013
Version 1Show Document
  • View in full screen mode

2008-03-07 05:59:35     malloc, 8MB, does not work...

Edwin Oyaga (GERMANY)

Message: 52193    Good day everybody,

Does anybody know how to allocate 8MB of memory on uClinux?

Using “malloc” for this purpose does not work.

We would appreciate any suggestion.

Thanks in advance

- Edwin

QuoteReplyEditDelete

 

 

2008-03-07 11:26:22     Re: malloc, 8MB, does not work...

Mike Frysinger (UNITED STATES)

Message: 52198    once the system is running, it's most likely you wont be able to ... once things fragment, you cannot allocate large chunks of physical memory.  this requires an mmu.

 

look at /proc/buddyinfo for the memory layout on your system.

Attachments

    Outcomes