Page 1 of 1

a solution to memory fragmentation?

Posted: Tue Jan 13, 2015 11:38 am
by thorwald
In [1] they mention that contiki-os has a compacting memory allocator , which solve the fragmentation issue(at the cost of some latency). contiki-os is open-source.

In a previous thread, damien mentioned the complexity of making such allocator. Maybe taking on from contiki will work?

Re: a solution to memory fragmentation?

Posted: Tue Jan 13, 2015 6:34 pm
by thorwald

Re: a solution to memory fragmentation?

Posted: Thu Jan 15, 2015 9:42 am
by pfalcon
No, taking it from contiki doesn't help. Compacting memory allocator is a trivial algorithm. It's adapting it for particular requirements and building the whole system ("world") where this compaction happens transparently is non-trivial. Contiki in particular doesn't do that.