RAM consumption

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

RAM consumption

1,359件の閲覧回数
dinok
Contributor II

Hi, 
I have a python program that needs RAM of 500 MB.

After converting that code base to MCX, how much RAM memory will it consume in MCX. In general, embedded C consumes way lower memory than python for various reasons.

My data will be 64KB. Is there a widely accepted thumb rule or is there any tool to determine the RAM consumption in MCX ?
An approx. number is enough.

ラベル(2)
0 件の賞賛
返信
2 返答(返信)

1,298件の閲覧回数
dinok
Contributor II

Thanks you Hang!

0 件の賞賛
返信

1,306件の閲覧回数
Harry_Zhang
NXP Employee
NXP Employee

Hi @dinok 

Converting a Python program to MCX (Microsoft C/C++) does not directly correlate with the amount of RAM it consumes. The memory consumption in MCX will depend on how the code is written, what libraries are used, and how the data structures are implemented.

However, there isn't a universal thumb rule that can be applied to determine the RAM consumption in MCX because it depends on various factors such as the complexity of the code, the optimization level set during compilation, and the specific compiler being used.

For your specific case, if your data is only 64KB, it's unlikely that the conversion to MCX would significantly increase the RAM consumption.

Hope this will help you.

BR

Hang