heap()returns an integer which is the byte size of current Asir heap area. Heap is a memory area where various data for expressions and user programs of Asir and is managed by the garbage collector. While Asir is running, size of the heap is monotonously non-decreasing against the time elapsed. If it happens to exceed the real memory size, most (real world) time is consumed for swapping between real memory and disk memory.
-adjoption at the activation of Asir. (See section Command line options.)
% asir -adj 16  load("fctrdata")$ 0  cputime(1)$ 0msec  heap(); 524288 0msec  fctr(Wang)$ 3.190sec + gc : 3.420sec  heap(); 1118208 0msec  quit; % asir  load("fctrdata")$ 0  cputime(1)$ 0msec  heap(); 827392 0msec  fctr(Wang)$ 3.000sec + gc : 1.180sec  heap(); 1626112 0msec  quit;
Go to the first, previous, next, last section, table of contents.