For some reason, after a certain number of connects/disconnects from a client to the TCP server on the DSP I created using the NDK, the DSP is reset. Before the DSP is reset, it prints a message like the following:
05396.606 TcpPrAttach: OOM
I haven't quantified how many connections it takes for this error to occur, but my estimate is about 100.
DSP: TMS320C6454
NDK: 1.94
Note: I searched google on this error, and it shows some source code from the stack (but it was removed). Looking at the small snippet from Google's search, I believe it may be due to low resources. What could cause the NDK to do this? Is something not being released after the TCP connection disconnects?