Returns the amount of currently unused memory in the imp
Device + Agent
The available memory within an imp may become fragmented. Hence allocating objects smaller than the free memory report can still fail, causing an out-of-memory error.
Filling an array with 1KB blobs will very quickly fill an imp’s memory, as the following code demonstrates.