FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [October 2008 Threads] How to detect memory leaks in FreeRTOSPosted by Angel Eyes on October 23, 2008 Hi
How do I debug for a memory leak if at all assuming we are using heap2.c . I am not familiar with debigging to a great extent hance would like to know .
Thank you .
RE: How to detect memory leaks in FreeRTOSPosted by Robert Warner on October 24, 2008 What little i know of the FreeRTOS is there are 3 different available heap management sub-systems/modules. If you look at the comments of each (heap_1, heap_2 and heap_3) you'll find which one may suit you best. I think by default heap_2 will 'leak' memory due to fragmentation and lack of garbage collection. The Leakage is mainly due to the heap management employed by that module. If you need less 'leakage', maybe try the heap_3, or build your own (and submit it ;) heap_4? ).
hths
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|