Deepali
12th February 2004, 09:29
Hi
I am trying one recursion program which tracks the Origin of stock moved from one warehouse to another.
AFter around 28 iteration (the case which i have studied) it gives me "adres_stack > 99 entries " error.
Can anybody help me to understand this error...

mark_h
12th February 2004, 16:22
Maybe if you post the relevant code someone will see what it is. It looks like an array is overflowing even though you have only done 28 iterations.

Mark

NPRao
12th February 2004, 20:54
Deepali,

Posting your code makes it easy to find the problem.

Here are the known limits from the Tools Programmers Guide

Bshell
maximum string buffer size is 4K – be careful when concatenating strings with '&' sign
maximum function stack depth is 75
Bic
maximum 255 arguments per function
maximum 32K variables per compilation
maximum BRANCH of 32K (BRANCH refers to the amount of generated code per function, including macros etc.)
SQL
maximum of 50 AND conditions within WHERE clause – otherwise the following error message appears:
"Stack overflow [QueryId = XX]"