To help us process the issue more efficiently, please provide the following information:
There is a memory leak when dxTemplate is used.
In this link there is recreation of the problem: https://stackblitz.com/edit/angular-ibh8ch
We add a 'memoryHog' attribute to rise increase the problem.
After creating and destroying several times the component:


How to reproduce using the stackblitz demo:
1) Open the DxScheduler component (click over 'Using Dx')
2) Close it (click over 'empty')
3) Take a snapshot of memory
4) Do 1) and 2) several times and click everywhere in the scheduler
5) Do 2) a last time to clean and take another snapshot
I could not reproduce the issue on my side.

Here is a repro in images. Clicking is critical to trigger the leak

Thank you for the clarification. It seems that the problem is in the following code: https://github.com/DevExpress/DevExtreme/blob/a7c2d7d83d716dbb1ef6a7926f0c36d4ba9a59ee/js/ui/scheduler/ui.scheduler.work_space.js#L1665
Hi @sebastianfdez
I have fixed this issue in this pull request.
Thanks! Good luck
Unfortunately, the memory leak is still present in 18.2.4...
https://angular-1fpheh.stackblitz.io

Hi聽@Telem
The聽fix聽is included in the 18.2.5 version. Please try it.
Hi. How @Telem says, the problem is still appearing after the new release.
To reproduce the problem it is necessary to click over the tamplates.
Here is a gif using the updated version with https://stackblitz.com/edit/angular-ibh8ch?file=package.json

@sebastianfdez @Telem
Thank you for pointing out to this issue. We reproduced it.
聽
I've created a corresponding ticket in our Support Center. You can subscribe to it to get notification once we have any results.