AnsweredAssumed Answered

Memory allocation issue in MQX.

Question asked by Neeraj Srivastava on Feb 8, 2015
Latest reply on Feb 12, 2015 by Radek Sestak

I am facing issue, in which application need to allocate memory block of around 250 bytes again and again,same block is getting freed also but after a run of 1 day application is getting reset with alloc return value of MQX_OUT_OF_MEMORY.

I am not sure what is causing the issue.

Below is the log for tad command which tells about the memory.

0x1fffe7a0   0x7e0   2016   0x1000d   Unknown mem type 0x25

0x1fffef80   0x20   32   System   INTERRUPT_VECTOR

0x1fffefa0   0x1054   4180   Free

0x1ffffff4   0x10   16   System   Unknown mem type 0x0

0x20000004   0x1130   4400   0x1000b   TCP_TX_WINDOW

0x20001134   0x1130   4400   0x1000b   TCP_RX_WINDOW

0x20002264   0xdd8c   56716   Free.

 

Do revert with your suggestions on this.

 

Thanks,

Neeraj Srivastava

Outcomes