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

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Scilab > Configuration > getmemory

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-2023 (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:
Tue Feb 25 08:49:18 CET 2020