On Feb 22, 2009, at 4:44 AM, Aurélien Francillon wrote: > Kevin Klues a écrit : >> take a look at the TosMallocC component in tinyos-2.x/tos/lib/ >> tosthreads/system >> > > The major problem with dynamic memory management on platforms without > virtual memory (avr,msp...) and limited memory is the risk of memory > fragmentation.
I disagree -- the two major problems are failure isolation and heap corruption. For the first, one bad software module (e.g., memory leak) can cause others to fail due to a lack of memory. For the second, there's no access protection to prevent a heap from growing large enough that the stack corrupts it. Phil _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
