Forum Discussion
Memory leaks in Power BI custom visuals
Hi Ignat,
In my case, the problem seems fixed in Power BI Desktop and Power BI Services while using certain browsers (Chrome, Safari and Firefox). But when using IE or Edge, the memory leak persists.
I believe the memory footprint is still been worked on, but i'm afraid using both Microsoft's browsers, the memory leak persists.
In my case, I detected the same issue Marco reported, but only using PowerApps custom visual (currently in preview mode) and Argis maps. At the time, I found no other custom visuals with the same issue.
The main problem is that any of the mentioned browsers release no memory at any time (I left the computer on for 2 hours and memory was still taken). What makes it even worse, is that IE doesn't crash and restart by itself, but I shows an error in the report and stops loading as shown in the images at the end. Edge manages a bit better and reboots by itself.
Some technical details....
- Independent of the OS
- Only occurs in Edge and IE. Couldn't repro in Chrome, Safari and Firefox
- IE crashes when reaching 1.5GB memory. Edge crashes when reaching 5GB memory (I miss a test here, what occurs when the computer doesn't have that much memory available)
- It's not exclusive of custom visuals (as far as I am concerned). If you move quickly enough between pages, the browser still increases in memory consumption without releasing any, with the same ending. In this case, IE does release the memory after a while.
Edge Memory Leak in Win10IE11 Memory Leak in Win10IE11 Memory Leak in Win7
Regards,
Ignacio
It looks like this issue might be related to these specific visuals.
Can you share any repro steps?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals