web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX 2012 R3 High Memory usage

(0) ShareShare
ReportReport
Posted on by

Hi All,

Need little help with a problem of high memory usage of 100% that makes the UAT AOS server in the status of blocking, what we can do is restart the AOS server, and the AOS server turn back to normal status.

1) It has happened for times, but we can not found any helpful information from windows event logs. the server seems normal except the period of this issue. It does not happened in a exact time. And we tried to do all things we've done before it happening, but it doesn't happened again. Even we import xpo and compile xpo as other user using DAX, it just NOT happened.

2) And this issue does NOT happened in our LIVE environment which with the same configuration of UAT environment.

a.  Environment:  Both of our server is on Microsoft Azure, and there's 28 GB memory in AOS server, 28 GB memory in DB server.  No more than 20 user use UAT server at the same time, less than LIVE environment.

b.  Layers: And we use USR, CUS, VAR, ISV layers.

Any ideas to troubleshoot this issue?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Brandon Wiese Profile Picture
    17,788 on at

    I would use some of the following tools while you are experiencing the issue to try to figure out what the AOS is actually doing, i.e. caught in some run-away resource consumption.

    Use SQL Server profiler to see what is happening at the database.  Seeing what queries are being executed could give you valuable insight.

    Use ProcMon to monitor the process.  This will only reveal network, file, or registry access, so it's less likely to be useful.

    Use the Trace cockpit to capture everything that is happening.  This could really reveal quite a lot.

    Capture a crash dump of the process and open a support case with Microsoft and submit the crash dump.  They undoubtedly have tools at their disposal that we just don't have.

    Finally, try killing processes (not just User, but also Worker) in the Online users form, and see if memory is relieved after each one.  Make sure batch jobs aren't running, or kill those that are, and see if that relieves memory.

  • André Arnaud de Calavon Profile Picture
    301,130 Super User 2025 Season 2 on at

    Hi Dennis,

    In addition to the suggestions from Brandon:

    Can you indicate which version of AX 2012 you are using? Can you verify if you are running AX on the latest available kernel version? You can check the versions on this site: http://aka.ms/axbuild/

    In the past I had to deal with a memory leak which was solved in a kernel update.

    When the memory consumption is 100% or very high, then try to find out which processes is consuming this? Is it AX AOS service or some other processes like Virus scanner, Management reporter or other software.

  • Community Member Profile Picture
    on at

    Hi André,

    Thanks for your reply.

    Our Kernel version is : 6.3.164.3198, and Application version is: 6.3.164.0

    We did NOT do any update yet.

    May I know which kernel update helps you solve the memory leak issue? thanks.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Dennis,

    There should not be any difference between Kernel Version & Application Version.. It seems that, you have tried applying any hotfix (or CU) in the environment.

    Is these versions same in your both of the environment. Additionally, what all components you have installed in the environment, that you are facing the issue?

    Regards,

    Vishal Salot

  • André Arnaud de Calavon Profile Picture
    301,130 Super User 2025 Season 2 on at

    Hi Dennis,

    Ignore the answer from Vishal about the difference between kernel and application version. This is common and OK. You should only ensure that the kernel versions on all AOS and clients are equal. If you install a kernel fix or application only, the versions are different.

    As mentioned I had faced a memory leak in the past. This was on AX 2012 with CU3. I have not noticed the behavior in AX 2012 R2 or R3, but you cannot exclude that it doesn't exist.

    You should monitor which processes are consuming the memory. It is not necessarily the AX AOS.

  • Community Member Profile Picture
    on at

    Hi André,

    Kernel version and Application version are of the same on AOS server and Terminal server.

    Management reporter is running in UAT AOS server and LIVE AOS server.  It occupy high resource, but seems not the root cause of this issue, since we stop it in a certain period before but this issue still occurred.

  • Community Member Profile Picture
    on at

    Hi Vishal,

    I'm agree with André that it's not a matter with difference version number between kernel version and application version. no matter in AX3.0, AX 4.0, AX 2009, and now AX 2012.

    There's EP and Management reporter in UAT AOS server, also share point 2012, visual studio dev tools 2010.

    And DB server is on another Azure machine.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans