AnsweredAssumed Answered

Getting Free Memory

Question asked by Rafael Dazcal on Nov 22, 2010
Latest reply on Nov 22, 2010 by Juraj Vanco

Greetings,

 

Is there a reason for MQX not having a function to let me know how much free RAM memory it has?

 

I can't use MQX CodeWarior plugins since mine is a Basic version.

 

I'm using "_mem_get_highwater()", but if I understood correctly (I looked into the source code), it gives me the address of the highest allocated memory (which helps a bit), but as far as I know, this allocated memory could consume the whole RAM...

 

I noticed in the source a "_mem_get_size()", but it does not seem to be implemented.

Outcomes