I would like to know if there is a place in TAD to see how much RAM is still available to use for new tasks?
Running MCF52259 with MQX 3.4
Solved! Go to Solution.
Yes, MQX -> Memory Blocks or Lightweight Memory Blocks (Owner == Free).
PetrM
Yes, MQX -> Memory Blocks or Lightweight Memory Blocks (Owner == Free).
PetrM
In my firmware the user can assign different applications to the three communication channels provided by the MCF52259.
I am trying to determine how much memory each application uses so I can ensure that I won't be running out of memory.
This is not as easy as it seems since the TCP/IP tasks allocate blocks as they go.
The TAD provides a listing of memory use and lists the owner as free for available memory.
Sometimes the "free" owner is listed several times. Is the sum of all free equal to the actual memory available?
I wish I could find a way of copying the table into an excell spreadsheet for analysis.
Hello,
yes, you need to sum all free blocks to get overall free memory.
There are also functions in mem_util.c (_mem_get_highwater...) that could help you to find out the maximum amount of memory ever used.
Regards,
PetrM