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.

ti.sysbios.heaps.HeapMem: line 307: out of memory

Other Parts Discussed in Thread: SYSBIOS

Hi,all:

I meet a error info below,I don't know what that mean and how to remove that error info.

ti.sysbios.heaps.HeapMem: line 307: out of memory: handle=0x865068, size=428

ti.sysbios.heaps.HeapMem: line 307: out of memory: handle=0x865068, size=428

ti.sysbios.heaps.HeapMem: line 307: out of memory: handle=0x865068, size=428

ti.sysbios.heaps.HeapMem: line 307: out of memory: handle=0x865068, size=428

ti.sysbios.heaps.HeapMem: line 307: out of memory: handle=0x865068, size=428

ti.sysbios.heaps.HeapMem: line 307: out of memory: handle=0x865068, size=428

ti.sysbios.heaps.HeapMem: line 307: out of memory: handle=0x865068, size=428

ti.sysbios.heaps.HeapMem: line 307: out of memory: handle=0x865068, size=428

ti.sysbios.heaps.HeapMem: line 307: out of memory: handle=0x865068, size=428

ti.sysbios.heaps.HeapMem: line 307: out of memory: handle=0x865068, size=428

ti.sysbios.heaps.HeapMem: line 307: out of memory: handle=0x865068, size=428

ti.sysbios.heaps.HeapMem: line 307: out of memory: handle=0x865068, size=16

xdc.runtime.Error.raise: terminating execution

 

It shows that “ti.sysbios.heaps.HeapMem: line 307: out of memory” cause the error “xdc.runtime.Error.raise: terminating execution

1.

what does the error info below mean?

ti.sysbios.heaps.HeapMem: line 307: out of memory: handle=0x865068, size=428 ?

What does handle =0x865068 mean? What does size = 16  mean ? what does size = 428 mean?

Why this situation out of memory ? 

2.

How to remove that error info “ti.sysbios.heaps.HeapMem: line 307: out of memory: handle=0x865068, size=428”  and avoid “terminating execution” ?

3.

I want to increase the heapMem size in cfg .My old cfg file is like below:

 

var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');

var heapMemParams = new HeapMem.Params();

heapMemParams.size = 0x8000;

heapMemParams.sectionName = "HEAPSEC ";

Program.global.INTMEM_HEAP = HeapMem.create(heapMemParams);

var BIOS = xdc.useModule ("ti.sysbios.BIOS");

/* specify heap size */

 BIOS.heapSize    = 0xA000;

 

But when I see the HeapMem Size in the ROV below ,it says HeapMem size is 0xA000 not 0x8000 . why ?