SBX - Search With Button

SBX - Forum Post Title

RAM utilization Microsoft.dynamics.nav.server services.

Microsoft Dynamics NAV Forum

Hardik Patel asked a question on 29 Nov 2018 5:21 PM
My Badges

Question Status

Suggested Answer

Hi Everyone,

     We are using Microsoft Navision 2017(10.0.17972.0) with LS retail at points of sales. nav server service using too much RAM which slows down entire POS system which result in customer frustration. Is there any way to reserve specific RAM for nav.server service ?.

refer below image where 5GB of ram has been utilized by nav server out of 8GB total.

    

Please share your view to minimize this issue.

Thank you.

Reply
Suggested Answer

5GB Ram for NAV Server is very low... do you have a production NAV Server with only 8GB of Ram??? How many users are connected to this service tier?

Reply
Hardik Patel responded on 30 Nov 2018 1:32 PM
My Badges

Hi Stefano,

     here, i am taking about stand alone POS system not production Server.  POS computer having 8 GB of RAM where 5 GB almost consumed by server instance.

     only one user connected to service tier all time.

     Please share your feedback.

Thank you.

Reply
Suggested Answer

This machines are standalone servers (NAV + SQL Server on the same machine) or only the NAV Server?

If you have SQL Server on the same Server (hoping not) you can set on SQL the min and max memory usage limit.

NAV Server memory usage normally depends on what users are doing and increases if you have background tasks running. Have you tried to restart the service?

Reply
Hardik Patel responded on 30 Nov 2018 2:30 PM
My Badges

Hi Stefano,

      it's standalone server having NAV & Sql server on same machine.

      i have already set max memory allocation to 3 GB but no luck and even restarted NAV instance, it will decrease RAM usages for couple of hours.

      it get increased automatically again and reach upto 5 GB.

     Also, note that this issue is occuring on all POS machine not for specific machine.

Thank you.

Reply
Dzung Nguyen responded on 3 Dec 2018 2:47 AM
Suggested Answer

Hi,

This is happening due to LS Retail POS config. They have a lot of process running in the background, and those process use the NAV server resources. You could check in Nav sessions or in DB layer to see whats running and start eliminate the un-necessary process to speed up the system.

-------------------------------

Dzung Nguyen

Please verify my answer, if you find it helpful. Doing so you'll show others that there was found a solution and you credit my help.

Reply
Hardik Patel responded on 3 Dec 2018 3:44 AM
My Badges

Hi Dzung,

      can you advise me what is the steps to check what kind of process running in Nav sessions. this will help me to analysis issue.

Thank you.

Reply
Dzung Nguyen responded on 4 Dec 2018 3:42 AM

Hi,

You can enable Full CAL function tracing in NAV Server Administration to see whats code, process is running.

docs.microsoft.com/.../configuring-microsoft-dynamics-nav-server-2017

Further more, you could also open debugger in NAV development environment to see NAV sessions.

docs.microsoft.com/.../walkthrough--debugging-the-microsoft-dynamics-nav-windows-client

For LS Retail POS, they do have lots of web services running background.

Good luck.

-------------------------------

Dzung Nguyen

Please verify my answer, if you find it helpful. Doing so you'll show others that there was found a solution and you credit my help.

Reply
Hardik Patel responded on 5 Dec 2018 7:36 PM
My Badges

Hi Dzung,

    i tried to both way to figure out high RAM consumption but no trace found at that point of time.

    is there any other way to decrease RAM consumption?

Thank you.

Reply
Suggested Answer

5GB Ram for NAV Server is very low... do you have a production NAV Server with only 8GB of Ram??? How many users are connected to this service tier?

Reply
Suggested Answer

This machines are standalone servers (NAV + SQL Server on the same machine) or only the NAV Server?

If you have SQL Server on the same Server (hoping not) you can set on SQL the min and max memory usage limit.

NAV Server memory usage normally depends on what users are doing and increases if you have background tasks running. Have you tried to restart the service?

Reply
Dzung Nguyen responded on 3 Dec 2018 2:47 AM
Suggested Answer

Hi,

This is happening due to LS Retail POS config. They have a lot of process running in the background, and those process use the NAV server resources. You could check in Nav sessions or in DB layer to see whats running and start eliminate the un-necessary process to speed up the system.

-------------------------------

Dzung Nguyen

Please verify my answer, if you find it helpful. Doing so you'll show others that there was found a solution and you credit my help.

Reply

SBX - Two Col Forum

SBX - Migrated JS