Stacks

Each thread in the database server has its own stack area in the virtual portion of shared memory.

For a description of how threads use stacks, see Stacks. For information about how to monitor the size of the stack for a session, see monitoring sessions and threads section in your HCL OneDB™ Performance Guide.

The size of the stack space for user threads is specified by the STACKSIZE parameter in the onconfig file. You can change the size of the stack for all user threads, if necessary, by changing the value of STACKSIZE.

You can use the ONEDB_ STACKSIZE environment variable to override the STACKSIZE value in the server configuration file. Set ONEDB_ STACKSIZE in the environment and recycle the instance.