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
- iperezlemme7 years agoFrequent Visitor
Yes, sure!
0. Open app.powerbi in IE 11 or Edge
1. Create a new report (Desktop/Service) with a datasource of your choice, AdventureWorks will do.
2. Create 2 pages in your report and in one or both pages insert a PowerApp visual or ESRI Maps visual, with the corresponding fields.
3. Navigate the report going from page 1 to page 2, to page 1, and again.
4. If desired, open Task Manager to review how memory incresases without being released at any moment. In IE it'll crash when reaching 1.5gb aprox and Edge 4/5gb aprox.
Please tell me if you need any more info!
Ignacio
- v-viig7 years agoCommunity Champion
Hi Ignacio,
Thank you for detailed repro steps. We'll share them to proper team for further investigation.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals