hooverphonique wrote on Friday, November 07, 2008:
Hi,
I have on several occasions experienced that increasing heap will make the difference between a working and non-working application… Even when checking the returned values from all functions that allocates from the heap (create tasks, semaphores, mutexes, queues, etc), I am still not informed that I have too little heap allocated… Any thoughts on why this is so? or is the heap used elsewhere and im just not realizing it?
Any ideas on how to minimize heap usage in general? I think just creating something "simple" like another semaphore seems to require more heap than I would expect.
cheers…
nb. running on a ATMega32/FRTOS 5 and create/init everything *before* i start the scheduler.