There is insufficient memory to execute this function.

sabzamsabzam Member Posts: 1,149
edited 2011-12-01 in NAV Three Tier
Dear All,

I am getting the following error message on opening NAV:

There is insufficient memory to execute this function. This can be caused by recursive function calls. Contact your system administrator.

This message is usually related to a recursive loop but in this case it is surfacing when nav has not even yet opened, i.e. when the user has just selected the server that's all. Has anyone ever had the same problem?

Comments

  • BeliasBelias Member Posts: 2,998
    1. what about the event log?does it say something more?
    2. when does it happen? do you click on the OK button or you're just selecting/validating the server in its textbox?
    3. what's your nav/sql version?
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • sabzamsabzam Member Posts: 1,149
    I am using NAV2009R2 RTC version. I am not even able to choose the company required, that's the strangest part of all.
  • BeliasBelias Member Posts: 2,998
    1. what about the event log?does it say something more?
    moreover: i think you're talking about the RTC. What happens if you try to log onto the classic?
    and also check if you've written the correct connection string.
    did you do some modification to codeunit 1? (althought i don't remember if it's already called at that point of time)
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • sabzamsabzam Member Posts: 1,149
    Dear All,

    It's happening solely onto RTC and the classic would still work perfectly. Not only that, there isn't any pattern. Mostly it happens when opening NAV but sometimes it even happen in other pages such as from a page order. The worst part of it all is that there is no common factor among the occurances. It is even happening from the server itself and this eliminate the network from the possible causes.
  • BeliasBelias Member Posts: 2,998
    What's your NAV version & build no.? did you already tried to download the latest build? (some of those fixes are memory consumption related).
    And again: What is the error log saying?!?!?!?
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • yukonyukon Member Posts: 361
    Hi All,

    Now, i also facing with this problem. I'm using W/S. Inside in nav code i don't call recursive function. But i got same error. If i restart ERP Server, it lost again.


    Anybody solved this issue, please share to me.

    Info.
    NAV R2 (3 Tier running)
    OS - Window 2003 R2 (RAM 6GB)
    Connector CRM-NAV

    Best Regards,
    Yukon
    Make Simple & Easy
  • ChielChiel Member Posts: 32
    Dear Yukon,
    Please use this document to Enable Diagnostic Tracing for Dynamics NAV.
    http://blogs.msdn.com/b/nav/archive/2011/01/20/enabling-diagnostic-tracing-for-dynamics-nav-web-services.aspx
    This will allow you to find out where the problem is in the code.
  • FranklinFranklin Member Posts: 253
    Hi everybody,

    Somebody knows how to solve this problem? A customer of us have this problem and we don´t know how to start trying to locate it...

    ](*,) ](*,) ](*,)
  • yukonyukon Member Posts: 361
    Hi Franklin,

    I also stay facing with this problem. I'm using ws service.
    Personally, if you are partner with MS and your NAV don't have any customization you can be feedback/open the ticket that case.

    When i open case, their answer is no. =; (MS not support customization).

    If you found soluation pls share to us. [-o<

    Regards,
    Make Simple & Easy
  • FranklinFranklin Member Posts: 253
    Finally i´ve found the problem...

    Somebody had write in the trtigger of the page OnNextNewRecord the code CurrPage.UPDATE. This code was written one year ago but it begin to failed yesterday. :-k
  • yukonyukon Member Posts: 361
    Hi All,

    Today, i found the hotfix for this error. You can check at

    https://mbs2.microsoft.com/Knowledgebase/KBDisplay.aspx?scid=kb;EN-US;2629587


    Regards,
    Yukon
    Make Simple & Easy
Sign In or Register to comment.