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


getmemory

returns free and total system memory

Syntax

[free, total] = getmemory()

Description

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.

Examples

[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 Jun 17 17:49:14 CEST 2024