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.

CCS/TDA2SX: out of memory

Part Number: TDA2SX

Tool/software: Code Composer Studio

HI  dear TIer,

My usecase is Nullsrc(A15) -> Alg(dsp1)->display

In chain I use OSA_memAllocSR to allocate  6M byte space,

 OSA_memAllocSR(
                                         OSA_HEAPID_DDR_CACHED_SR1,
                                         MODEL_SIZE,
                                         32);

when it runs,

 [HOST] [IPU2  ]  27613.896693 s: out of memory: handle=0x99e0a4e4, size=52428800

 [HOST] [IPU2  ]  27614.072530 s: out of memory: handle=0x99e0a4e4, size=5898240

In the alg plugin ,

pSystemVideoFrameBuffer->bufAddr[0] =Utils_memAlloc(
                                           UTILS_HEAPID_DDR_CACHED_SR,
                                           (maxHeight*(pObj->pitch)*2),
                                           ALGORITHMLINK_FRAME_ALIGN);

pSystemVideoFrameBuffer gets NULL addr.

Can  you tell me how to set the size of UTILS_HEAPID_DDR_CACHED_SR and UTILS_HEAPID_DDR_CACHED_SR1 to solve the problem?

Thanks!