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.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
You do not have the correct permissions to perform this operation. Please, contact us at support@mbed.com to gain full access.
×
AFAIK malloc() is supposed to return NULL when it cannot allocate the memory. But according to my testing it just seems to crash. If have written a small program with allocates 4 block with 8k each - and it doesn't seem to return from the last call: http://mbed.org/users/hlipka/programs/malloc_test
This makes it especially problematic to debug memory leaks (I suspect my code has one :(, since this nice library AvailableMemory doesn't work due to this...