Go backward to print-stats.
Go up to Displaying other information.
Go forward to echo.

memory-stats, rete-stats
------------------------

These functions print statistics about memory usage and the Rete net,
respectively.

SYNTAX

(memory-stats)
(rete-stats)


EXAMPLE

Soar> memory-stats
 1007892 bytes total memory allocated
    3664 bytes statistics overhead
   11344 bytes for strings
  133700 bytes for hash tables
  851276 bytes for various memory pools
    7908 bytes for miscellaneous other things
Memory pool statistics:

Pool Name        Used Items  Free Items  Item Size  Total Bytes
---------------  ----------  ----------  ---------  -----------
chunk condition           0           0         40            0
io wme                    0           0         16            0
output link               0           0         24            0
preference              374          35         80        32720
wme                     365         146         64        32704
slot                    210         131         96        32736
instantiation           195         487         48        32736
ms change                16        1007         32        32736
right mem               692         945         20        32740
negative token           89        1080         28        32732
token                  1100         947         16        32752
node varnames           978        1069         16        32752
rete node               800         688         44        65472
rete test               240        2489         12        32748
alpha mem                97         812         36        32724
saved test                0        2729         12        32748
not                      16        2713         12        32748
action                  259        1105         24        32736
production              125         619         44        32736
condition              1235         253         44        65472
complex test             14        4080          8        32752
float constant            0           0         24            0
int constant              7        1357         24        32736
sym constant            357         812         28        32732
identifier               66         275         96        32736
variable                113         796         36        32724
dl cons                   0        2729         12        32748
cons cell               244        3850          8        32752

Soar> rete-stats
801 total rete nodes
         1 dummy top node
       608 pos. nodes
        28 unhashed pos. nodes
        33 neg. nodes
         0 unhashed neg. nodes
         3 c.n. nodes
         3 c.n. partner nodes
       125 production nodes