Although the system automatically expands the stack before it overflows, there are certain cases in which the stack does overflow (e.g., too many agents are activated at a time). You can specify the amount of space that is allocated to a stack when you start the system. For example,
bp -s 4000000
allocates 4 mega words, i.e., 16 megabytes, to the control stack. You can use the parameter -b in order to specify the amount that is allocated to the trail stack, -p in order to specify that amount that is allocated to the program area, and -t in order to specify the amount that is allocated to the table area. See Section 10.1 for the details.