Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2023.1.0 - English


returns free and total system memory


[free, total] = getmemory()


getmemory() returns free system memory (kilo-bytes).

[free, total] = getmemory() returns free and total system memory (kilo-bytes).

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.


[a,b] = getmemory()

See also

  • who — listing of variables
  • recursionlimit — get or set the current or maximal allowed depth of nested calls
  • host — executes a Windows, Linux, or MacOS command
Report an issue
<< getdebuginfo Configuration getmodules >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon May 22 12:37:04 CEST 2023