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.

TDA4VM-Q1: C7x Memory tivxAlgiVisionAllocMem Failed

Part Number: TDA4VM-Q1

Dear Expert.

I am running a deep learning demo on VM board. When I manually start the application, the following error log repeatedly occurs:

 

Mar 12 19:52:54 app7.info : [C7x_1 ] 2233.820240 s: VX_ZONE_ERROR:[tivxAlgiVisionCreate:358] tivxAlgiVisionAllocMem Failed*

Mar 12 19:52:54 app7.info : [C7x_1 ] 2233.820268 s: VX_ZONE_ERROR:[tivxKernelTIDLCreate:720] tivxAlgiVisionCreate returned NULL*

Mar 12 19:52:55 app7.info : [C7x_1 ] 2234.157902 s: VX_ZONE_ERROR:[tivxMemBufferUnmap:370] tivxMemBufferUnmap failed (either pointer is NULL or size is 0)*

Mar 12 19:52:55 app7.info : [C7x_1 ] 2234.157934 s: VX_ZONE_ERROR:[tivxMemBufferUnmap:370] tivxMemBufferUnmap failed (either pointer is NULL or size is 0)*

Mar 12 19:52:55 app7.info : [C7x_1 ] 2234.216622 s: VX_ZONE_ERROR:[tivxMemBufferUnmap:370] tivxMemBufferUnmap failed (either pointer is NULL or size is 0)*

Mar 12 19:52:55 app7.info : [C7x_1 ] 2234.216651 s: VX_ZONE_ERROR:[tivxMemBufferUnmap:370] tivxMemBufferUnmap failed (either pointer is NULL or size is 0)*

Mar 12 19:53:01 app7.info : [C7x_1 ] 2240.912857 s: VX_ZONE_ERROR:[tivxAlgiVisionAllocMem:194] Failed to Allocate memory record 5 @ space = 17 and size = 14186304 !!! *

vbnet

 

Before the errors, heap allocation is functioning normally.

Mar 12 19:15:48 app7.info : [C7x_1 ] 2.396479 s: MEM: Init ... !!!*

Mar 12 19:15:48 app7.info : [C7x_1 ] 2.396490 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ 117000000 of size 314572800 bytes !!!*

Mar 12 19:15:48 app7.info : [C7x_1 ] 2.396510 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000001) @ 70020000 of size 8159232 bytes !!!*

Mar 12 19:15:48 app7.info : [C7x_1 ] 2.396528 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 64800000 of size 458752 bytes !!!*

Mar 12 19:15:48 app7.info : [C7x_1 ] 2.396545 s: MEM: Created heap (L1_MEM, id=3, flags=0x00000001) @ 64e00000 of size 16384 bytes !!!*

Mar 12 19:15:48 app7.info : [C7x_1 ] 2.396562 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ 100000000 of size 385875968 bytes !!!*

Any suggestions or experiences you can share would be greatly appreciated.

thanks a lot!

FAW team

  • Hi,

    Mar 12 19:53:01 app7.info : [C7x_1 ] 2240.912857 s: VX_ZONE_ERROR:[tivxAlgiVisionAllocMem:194] Failed to Allocate memory record 5 @ space = 17 and size = 14186304 !!! *

    This seems to that the region is out of memory. Could you please check the memory requirement of your model and increase the C7x memory region accordingly?

    Regards,

    Nikhil