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: Memory allocation issue for the program

Part Number: TDA4VM

Hello team,

I am working on an application, which requires a custom kernel. The kernel has four input and output tensors. The kernel requires 8 header files, where 8 LUT arrays are defined of the size 1280x944 of unsigned int data.

While building the application the following error log is appeared. The target core is DSP2. Can you please guide me how to clear the memory allocation error.

"/home/raju/TDA4x_8.02/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/vision_apps/platform/j721e/rtos/c66x_1/j721e_linker_freertos.cmd", line 81: error: 
   program will not fit into available memory.  placement with alignment fails
   for section ".const" size 0x2510876 .  Available memory ranges:
   DDR_C66x_1   size: 0xdffc00     unused: 0xdffc00     max hole: 0xdffc00  
error: errors encountered during linking;
   "/home/raju/TDA4x_8.02/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/vision_ap
   ps/out/J7/C66/FREERTOS/release/vx_app_rtos_linux_c6x_1.out" not built
make[1]: [concerto/finale.mak:213: /home/raju/TDA4x_8.02/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/vision_apps/out/J7/C66/FREERTOS/release/vx_app_rtos_linux_c6x_1.out] Error 1 (ignored)
Linking /home/raju/TDA4x_8.02/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/vision_apps/out/J7/C66/FREERTOS/release/vx_app_rtos_linux_c6x_2.out
"/home/raju/TDA4x_8.02/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/vision_apps/platform/j721e/rtos/c66x_2/j721e_linker_freertos.cmd", line 81: error: 
   program will not fit into available memory.  placement with alignment fails
   for section ".const" size 0x2510876 .  Available memory ranges:
   DDR_C66x_2   size: 0xdffc00     unused: 0xdffc00     max hole: 0xdffc00  
error: errors encountered during linking;
   "/home/raju/TDA4x_8.02/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/vision_ap
   ps/out/J7/C66/FREERTOS/release/vx_app_rtos_linux_c6x_2.out" not built
make[1]: [concerto/finale.mak:213: /home/raju/TDA4x_8.02/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/vision_apps/out/J7/C66/FREERTOS/release/vx_app_rtos_linux_c6x_2.out] Error 1 (ignored)
Linking /home/raju/TDA4x_8.02/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/vision_apps/out/J7/C71/FREERTOS/release/vx_app_rtos_linux_c7x_1.out

Thanks,

Seetharama Raju.