Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Latest commit

 

History

History
34 lines (23 loc) · 1.09 KB

cmd_allocate.wiki

File metadata and controls

34 lines (23 loc) · 1.09 KB

  1. summary allocate command documentation

Table of Contents

allocate

Allocate additional 32 kilobyte blocks of memory for a specified memory pool without running Soar.

Synopsis

Description

Soar allocates blocks of memory for its memory pools as it is needed during a run (or during other actions like loading productions). Unfortunately, this behavior translates to an increased run time for the first run of a memory-intensive agent. To mitigate this, blocks can be allocated before a run by using this command.

Issuing the command with no parameters lists current pool usage, exactly like [cmd_stats] command's memory flag.

Issuing the command with part of a pool's name and a positive integer will allocate that many additional blocks for the specified pool. Only the first few letters of the pool's name are necessary. If more than one pool starts with the given letters, which pool will be chosen is unspecified.

Memory pool block size in this context is approximately 32 kilobytes, the exact size determined during agent initialization.

See Also

[cmd_stats]