Altium Limited interview question

How to find out at runtime available free memory ?