AnsweredAssumed Answered

heap_free is consuming more and more processing time

Question asked by gpetrowitsch on Dec 8, 2010
Latest reply on Dec 14, 2010 by gpetrowitsch

Hi,

 

we are having the problem, that our application on a BF548

is slowing down more and more. Using the statistical

profiler, we see that an increasing amount of processing

time is consumed by heap_free.

 

Some thread is repeatedly creating strings, grows them

and destroys them afterwards. So we expect that heap_malloc

and heap_free are called quite frequently. But why does this

lead to heap_free becoming the major consumer of processing

time and what can we do to avoid this?

 

Regards,

Gerhard

Outcomes