Top
Back: maxideal
Forward: minbase
FastBack: Functions and system variables
FastForward: Control structures
Up: Functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

5.1.81 memory

Syntax:
memory ( int_expression )
Type:
bigint
Purpose:
returns statistics concerning the memory management:
  • memory(0) is the number of active (used) bytes,
  • memory(1) is the number of bytes allocated from the operating system,
  • memory(2) is the maximal number of bytes ever allocated from the operating system during the current SINGULAR session.
Note:
To monitor the memory usage during ongoing computations the option mem should be set (using the command option(mem);, see also option).
Example:
 
See option; system.

Top Back: maxideal Forward: minbase FastBack: Functions and system variables FastForward: Control structures Up: Functions Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.