Pergunta de entrevista da empresa Altium Limited

How to find out at runtime available free memory ?