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.
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