Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Information about stack memory use

a_leonard
Novice
610 Views
I'm trying to debug a stack overflow problem and am wondering if there is any way I can view the "stack pointer" or some other information about how much stack memory is used/available as I run a program.
0 Kudos
1 Reply
Wendy_Doerner__Intel
Valued Contributor I
610 Views

There is not an easy way to do this that I know of (you can view the stack and addresses in the debugger as you step through or set breakpoints in the program). You might be intersted in this article which describes how to address lack of stack memory. Our compiler puts some data on the stack for performance reasons and has greater need for stack than other Fortran compilers.

------

Wendy

Attaching or including files in a post

0 Kudos
Reply