Devextreme: Memory Leak using dxTemplate

Created on 17 Dec 2018  路  9Comments  路  Source: DevExpress/DevExtreme

To help us process the issue more efficiently, please provide the following information:

  • Specify the version of the devextreme-angular and devextreme packages you are using.
    Chrome
    devexteme version: 18.2.3
    devextreme-angular version: 18.2.3
  • Specify the type of the issue (check one with "x"):
    [X] bug Report
    [ ] feature request
    [ ] support inquiry

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:
image

image

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

typbug

All 9 comments

I could not reproduce the issue on my side.
memory

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

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
memleak-devextreme-2

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

memoryhogusingdevextreme

@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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

genachka picture genachka  路  9Comments

pedrofurtado picture pedrofurtado  路  3Comments

bbakermmc picture bbakermmc  路  7Comments

Cammeritz picture Cammeritz  路  7Comments

Bykiev picture Bykiev  路  9Comments