Announcement

Collapse
No announcement yet.

Out of stack space

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

  • Out of stack space

    I received an error message 'Out of Stack Space'.

    Has anyone else experienced a similar problem. My computer has plenty of hard drive space.

    thanks

  • #2
    solved

    I came to a conclusion on my above problem, fyi. If a function calls itself many times, the local variables that are declared take up too much space.

    I encountered the problem while trying to query '10M' '5M' interval from esignal. for some stocks, these queries did not work.

    I would loop the function after I got the results from the below


    lNumBars = esignal.GetNumBars(historyHandle)

    and if I got 0, I would ask esignal to try again.

    Comment


    • #3
      Stack errors are a common problem with recursion. It is actually not recommnended that you re-request data for a symbol that doesn't have any. If you are not getting data back, you may not be entitled for those symbols.

      Comment

      Working...
      X