de-allocation of heap memory

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

de-allocation of heap memory

616件の閲覧回数
grt951
Contributor II

I am using a MCF51JE128 with CW v.6.3. I have increased my heap memory to 0x2000 to fit my needs however after I free the allocated memory the alloc.c library will not re-use the previous memory...

 

This results in my task functioning out of power up only and failing to allocate any heap memory the second, third, etc. time around.


I have tried setting the _EWL_USE_FIX_MALLOC_POOLS to 0 in alloc.c with no avail...as well as decreasing the heap memory to the default size nothing seems to free up the allocated memory.


Any ideas?

ラベル(1)
0 件の賞賛
返信
0 返答(返信)