Main Site Documentation

Method to know in software the available memory?


#1

Hello !

While you are debuging, you can easily know how much used/free memory he has by looking at the GC informations, or even force it in software with a Debug.GC(true).

However, is there a way I can check the freeblocks inside my software ?
Or even a way to get the GC string by a trick and then parse its values ?

Thank you in advance :slight_smile: !


#2

Free memory can be gleaned by int val = Debug.GC(true);


#3

Thank You :slight_smile:

I feel a little confused, that was so simple :-[


#4

No worries, I had an issue yesterday were I couldn’t get something to work, only to realize it was because I hadn’t enabled it. We all miss the little stuff sometimes. :wink:


#5

@ Skewworks, +1 :wink: