Forum Discussion
Anonymous
8 years agoNot applicable
Memory leaks in custom visuals
Hello, I'm wondering if there is any memory leaks occuring in the update method. As far as I know, update method is recalled each time an event occured (filter for instance). So normally, all th...
v-viig
8 years agoCommunity Champion
There's a known issue with memory consumption. New API will resolve this issue (please expect a new release soon).
Important to note that custom visuals should not remove DOM for each update call since it produces memory leaks.
To void removing of DOM you should use D3-enter-update-exit flow or use another library that keeps DOM during modifications.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals