Announcement

Collapse
No announcement yet.

How can I tell whether the stack size is too small?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can I tell whether the stack size is too small?

    Hello,

    Yesterday I found my script did not work correctly on 30day 1min chart of ES #F. It showed "Formula Error" after the script name when clicking "Reload" and there was a red "null" printed out in the formula output window whenever I clicked the mouse on the chart. It took me several hours to find out it was caused by stack overflow. After increase the stack size to 1MB ( it was set to 200KB when the problem occured) the problem was gone. Can eSignal EFS engine display some helpful information when the stack overflows or is there a method to check the peak stack size being used?

    - Clearpicks
Working...
X