de-allocation of heap memory

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

de-allocation of heap memory

627 次查看
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 回复数