Top
Back: fibonacci
Forward: killall
FastBack: compregb_lib
FastForward: grobcov_lib
Up: general_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.2.3.8 kmemory

Procedure from library general.lib (see general_lib).

Usage:
kmemory([n,[v]]); n,v integers

Return:
memory in kilobyte of type bigint
n=0: memory used by active variables (same as no parameters)
n=1: total memory allocated by Singular

Display:
detailed information about allocated and used memory if v!=0

Note:
kmemory uses internal function 'memory' to compute kilobyte, and is the same as 'memory' for n!=0,1,2

Example:
 


Top Back: fibonacci Forward: killall FastBack: compregb_lib FastForward: grobcov_lib Up: general_lib 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.