Intel® VTune™ Profiler

User Guide

ID 766319
Date 3/22/2024

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Error Message: Stack Size Is Too Small

Full error message: Stack size provided to sigaltstack is too small. Please increase the stack size to 64K minimum. This message is Linux* only.


When setting up SIGPROF signal handler, the VTune Profiler attempts to configure the signals to use the alternative stack size using sigaltstack() API to make sure that its signal handler does not depend on the stack size of the profiled application. If the application uses alternative signal stack itself, the Intel® VTune™ Profiler requires that the alternative stack size is 64K at a minimum. This may be not the case if the application uses SIGSTKSZ constant for the alternative stack size (which is 8192 bytes). In this case, the data collection may terminate with the error message.


Configure the VTune Profiler not to set up the alternative stack and use the stack provided by th application. To do this, pass the following command line options to the tool:

vtune -run-pass-thru=--no-altstack

Or, set up the environment variable AMPLXE_RUNTOOL_OPTIONS=--no-altstack.