Can someone suggest why a call to MEM_alloc is apparently allocating all of my available heap space?
Before this call
MBX_pend( &MBX_OutputDataAvailable, pDataAvailableMsg, SYS_FOREVER );
KOV shows that I have used <32 Kbytes of a 4MB heap in DDR2, and that the MBX has no messages.
After the call, the TSK is blocked, until another TSK posts the MBX. That is working OK, except that after the MBX_pend() call, KOV shows that the heap in DDR2 is full, and still shows that when the TSK that made the MBX_pend call resumes execution (after the other TSK has posted a message to the MBX. There are no malloc/mem_alloc calls made after the MBX_pend call that would use heap space.
I use MBX_pend in other places in my application with no problem. I had this working earlier, and probably did something stupid to break it, but I can't see what I did. Any suggestions would be appreciated.
I am working with a C6424 and DSP/BIOS 5.33.06. if that's significant.