Insufficient memory - recursive function

BokkBokk Member Posts: 138
edited 2005-04-26 in Navision Attain
We have a client running Nav 3.10A. They were trying to run the "Calculate Low-Level Code" function under Periodic Activities in Manufacturing. It stops on the same item each time (at about 18% complete) and the error says: "There is insufficient memory (stack) to execute this function. This can be due to the way that recursive function calls are used in the program." It appears to be a system message, not one set in code.

It uses codeunit 99000853 which has no customizations in it. There is a function which calls itself and also has a REPEAT loop. I believe it may be having the error because it is exceeding 50 levels - I need to check into this specifically for this item. (At a glance it didn't seem to exceed the max number of levels.) It seems likely to me that it could be data related as this would be a common function that would affect everyone and we haven't changed anything in it. If so, would it affect too many other functions to change the max number of levels to 60 or some other number?

Any insight would be appreciated.

Thanks!
SGM

Comments

  • SavatageSavatage Member Posts: 7,142
    edited 2005-04-26
    I see this message when I try to Optimize my G\L Entry Table with the database used @ 85%. If I expand the database until the available is <80 it Optimizes without the message.

    So in my case it's due to free database space.

    Note - the G\L Entry table is our largest.
  • jmjm Member Posts: 156
    Hi,

    perhaps you have a recursion in your Production BOMs?
    can you locate the item where the system stops?
    check it's Production BOM.

    br
    Josef Metz
    br
    Josef Metz
Sign In or Register to comment.