Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Memory leak / stuck proces cause AOS to consume all memory

Posted on by 200

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

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: Memory leak / stuck proces cause AOS to consume all memory

    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans