de-allocation of heap memory

Showing results for 
Show  only  | Search instead for 
Did you mean: 

de-allocation of heap memory

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 well as decreasing the heap memory to the default size nothing seems to free up the allocated memory.

Any ideas?

Labels (1)
0 Kudos
0 Replies