I am using the following calls to check the available memory. Memory.getFlashStats().getFree() Memory.getRAMStats().getFree()
However, I am confused with what the Api reports. For a code segment like below, at the end I am getting zero difference (available flash or ram do not change). Is this expected? I expected to see 1024 less available ram or flash.