Thread Stack Overflow When Using Multiple Client Connections

You may receive messages about a segmentation fault that mention a possible thread stack overflow.

If these messages occur, increase the server stack size by one of the following methods:

  • Specify the server_stack_size option in the /conf/timesten.conf file.

  • Specify the ServerStackSize connection attribute for a specific DSN. This takes precedence over the value in the /conf/timesten.conf file.

Increasing the server stack size decreases the number of concurrent connections that can be made before running out of swap space.

See Working with the TimesTen Client and Server in the Oracle TimesTen In-Memory Database Operations Guide.