Critical issue in NAV 2009 R2 Web Service (Memory problem)

JAJJAJ Member Posts: 52
edited 2014-11-19 in NAV Three Tier
We have a Web Service that receive a lot of information from external application. That application makes between 1000/3000 calls per hour to NAV 2009 WS in order to send data to NAV 2009. The NAV 2009 Web Service memory is increasing until memory arrive to 3 GB (32 bits app) then WS does not down but stop responding and any data is imported in NAV 2009.

Anyone know how can I solve the issue in order to free the memory or to avoid that the WS stop responding?


Thanks in advance!

Comments

  • vremeni4vremeni4 Member Posts: 323
    Hi,

    It is difficult to say without being able to see the code in NAV.
    In my experience this is usually caused by the fact that variables are not cleared.
    Try to use Local variables in NAV instead of Global.
    Make sure that all variables are cleared before or after use.

    Another option is to restart the service from time to time.
    Setup a dedicated NAV Server only for this task and restart it now and then.
    (you can setup alerts in windows, when memory is around particular amount ->close NAV server and start it again)

    I hope this helps.
    Thanks.
Sign In or Register to comment.