RAM available

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,293件の閲覧回数
MQXuser
Contributor III

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

0 件の賞賛
返信
1 解決策
1,478件の閲覧回数
PetrM
Senior Contributor I

Yes, MQX -> Memory Blocks or Lightweight Memory Blocks (Owner == Free).

 

PetrM

 

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,479件の閲覧回数
PetrM
Senior Contributor I

Yes, MQX -> Memory Blocks or Lightweight Memory Blocks (Owner == Free).

 

PetrM

 

0 件の賞賛
返信
1,478件の閲覧回数
drummer
Contributor IV

 

 

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.

 

 

0 件の賞賛
返信
1,478件の閲覧回数
PetrM
Senior Contributor I

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

0 件の賞賛
返信