Hi
We have a TMS320C6747 board and are able to run code on the C6747 DSP using C6Run.
After running the executable a few times, CMEM gives us the error:
CMEM Error: allocHeap: ioctl CMEM_IOCALLOCHEAPCACHED failed: -1
When we load the cmemk.ko module the output is:
CMEMK module: built on May 28 2013 at 16:41:33
Reference Linux version 2.6.33
File /media/NewVolume/C6Run_0_98_03_03/linuxutils_3_23_00_01/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
allocated heap buffer 0xc3000000 of size 0x2000000
cmemk initialized
Its strange that our executable works when we run it a few times and then eventually stops working. I will note that /proc/cmem is empty - I don't know if this is an issue. Also note we do open and read a lot of large files.
We're wondering if a memory leak in our code can cause the heap memory to eventually run out?
Any help appreciated, thanks.