Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 9 months ago.
Remaining Ram during execution of a soft
I"m using lpc4088 board, after few minutes (around 15 minutes) the mbed stops...
I would like to know if there is a function or another way to get the ram size that remain during the execution of the softs.
So from I could be able to find where my soft is not releasing ram.
thanks.
Raph
1 Answer
10 years, 9 months ago.
This might help: http://mbed.org/forum/helloworld/topic/3948/?page=1#comment-19598
Also in general for memory leaks: Search on all 'new' and 'malloc' operators, if one is there, there should be a corresponding delete/free operator. If it gets too complicated to see that way if it is the case, I have for example placed a printf at every new, malloc, delete and free action. Check if they are called same amount of time.