Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Unanswered

Memory Leak causes browser tab to freeze - Customer Service Workspace

Posted on by

Our company is currently using the D365 Omnichannel Customer Service Workspace app.

We have included our own session template, in which we open 2tabs that are case forms, a Power Platform custom page and a tab with a contact form.

The only noteworthy element in the case forms is that we have included the rich text editor.

With these sessions, our customer service colleagues answer emails (emails are writting within the text editor. The send button includes a custom button).

After about 30 emails, the live JavaScript memory is at around 2.000.000k and the browser tab crashes completely:

We have indentified that there is a memory leak of around 40-50mb every time we open and close an email session. For this memory leak to happen, we merely need to open the session and close the session with the close button in the session tab.

We also took memory snapshots. We see that all windows that we have opened during our time in the Customer Service Workspace are kept in memory as detached elements. The screenshot below is after we opened an email session twice.

We look at the detached elements above and zoom in on them. We are looking at what might reference these elements to stay in memory. Only we are surprised to see none of our own JS code or custom elements. We only see contexts from out of the box js scripts. Such as the “clientsdk?version1:2”, “core.services.js” and “pa.core.bundle1.js”.

 We are talking to Microsoft but so far we haven't got any answers, while it does seem to be an issue from the Microsoft side.

Does anyone else encounter this issue? How might we fix this?

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans