This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

malloc failed

Other Parts Discussed in Thread: CC3200

Hi,

I am using ti-rtos for simple link (cc3200 device).  I am facing issue with malloc function. malloc is failed to allocate memory after certain requests.

After every request we are freeing the memory once utilization is done. We increased the heap size also but this also didn't work.
Could you suggest how to debug this issue?

  • Have you used ROV in CCS (Tools->RTOS Object Viewer) to see how much memory is being used. If you are using the default set-up, the default system heap (and malloc) is managed by the HeapMem module.

    Also take a look at the HeapTrack module. You can enable this for the default system heap and look at ROV to help find memory leaks.

    Todd