Please note that the recommended version of Scilab is 6.0.0. This page might be outdated.
See the recommended documentation of this function
returns free and total system memory
getmemory() returns free system memory (kilo-octets).
[free, total] = getmemory() returns free and total system memory (kilo-octets).
Do not rely too much on this function. Due to various level of caching, free memory detection is a tricky thing under most modern operating systems.