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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Memory leak / stuck proces cause AOS to consume all memory

(0) ShareShare
ReportReport
Posted on by 204

Dear community,

I'm having a problem with an AX2012 R3 CU13 AOS which is specfically reserved for mobile device users. I get a notification that a mobile device users is stock logging in. When I open the work user sessions from the Warehouse Management menu the client crashes with an Out of memory exception.

Upon further analysis I found out that some records from the table WHSWorkUserSessions have a really large rowsize and I think this is caused by a corrupt XML path. I think the user login is looping and is continiously writing in the table, cause the AOS to take up all available memory¿?. In this situation the AOS takes up 58/60 GB memory and CPU peaks to 97% which significantly slows down the AOS. Normally the CPU-usage is around 0-5% and RAM-usage is around ~10GB.

The only way I figured out to solve this problem is to delete the whsworkusersession directly through an SQL statement. But after deleting the session the AOS doesn't release the RAM so I think it isn't ending the process. I need to restart the whole AOS for this to be solved, which is quite a pain because there are several mobile device users logged in during business hours. 

Is there any way to view which background processes a specific AOS is running and am I able to end these without having to restart the whole AOS?

Thanks in advance.

pastedimage1599555337459v1.png

I have the same question (0)
  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Berthil,

    If the AOS is taking up all the resources, you will need to restart it. I don't think there is any other way you can release the resources.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 478 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans