Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
In the last few days I connected the dots between several requests I received, and I've found that when custom visuals are created and removed frequently in a report, the browser (or the process CefSharp.BrowserSubprocess.exe used by PBI Desktop) grows in memory until it becomes unusable.
The native visuals don't seem affected by that.
Crashing Power BI seems incredibly easy:
If I use a regular slicer, the issue is not visible. In reality, I see 4-5 KB lost every time I switch between pages, but it's a fraction of the cost of the custom visuals.
I tried with other custom visuals, made by different developers, and I've got the same result.
I have seen in Power BI forum several threads related to the presence of the CefSharp.BrowserSubprocess process, but I didn't see an explanation of the reason, which is not really related to that process considering that the issue also happens on a regular browser for published reports.
To my eyes, this is some memory leak issue related to custom visuals when the user switch between pages of the same report. But, of course, I could be wrong, so in this case any further information would be useful.
Is this something that other noticed?
Any comment from MS?
Thanks,
Marco
Buenas tardes,
Al actualizar a la nueva versión de diciembre de 2019 me sale el error "CefSharp.BrowserSubprocess dejó de funcionar".
Reinstale versiones anteriores y el error persiste. Actualmente he dejado la versión de diciembre de 2019
La memoria consumida crece al cambiar de página y cuando activo las vista de marcadores hasta cerrarse el fichero. Las visualizaciones personalizadas que utilizo son "chicletslicer" y "textfilter".
Creo que el mayor problema al que me he enfretado ya que todos mis informe están inutilizados por este hecho.
Pido ayuda.
Gracias.
Este es el consumo de memoria cuando se activa el panel de marcadores. Hasta que se cierra.
Si abro el fichero y voy al panel de marcadores queda inutilizable el informe.
Hello there, I'm a new user and I already noticed the memory leak "cefsharp.browsersubprocess.exe".
I'm using Power BI Desktop under Win7 SP1.
Is there any solution yet?
Thanks.
Is this being addressed? I am experiencing the same issue.
Hi @Anonymous
Power BI Custom Visuals API team is working on improving performance.
Can you share any details on when you face the same issues?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Hi @v-viig ,
a new guy bothering you for updates... 😉
Any news on this issue? We're currently also in the middle of two proof of concepts with enterprise customers and without solving this performance issue we're probably going to loose against Qlik Sense.
Thanks for your effort & Kind regards,
Gerrit
Hi Gerrit,
Custom Visuals consume less memory if they use last versions of API.
Regarding tihs, we recommend developers to migrate their visuals to latest API.
What exact troubles do you have with performance?
Kind Regards,
Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com
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....
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
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
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
Has this issue been fixed?
The primary memory leak was fixed.
Currently we're working on other methods to reduce memory footprint.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Power BI Custom Visuals API team is working on improving performance of custom visuals.
That process is taking some time since we have to modify large bunch of code.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Sounds good, place keep us updated 🙂 We're also seeing major performance issues using 30+ 'card with states' on a single page. Desktop also crashes when used too long (the memory leak issue) although closing/opening Desktop helps (if you remember :-))
Thank you for the details.
We'll update status once we have any news.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Any news on this? We have several dashboards running at customer sites where we've had to move away from custom visuals due to the slow response and difficulty in building reports with lots of custom visuals (+20)
This is having a severe impact on our reporting and is causing huge spikes in CefSharp.BroswerSubprocess for me. I have been pulling my hair out redesigning measures and entire reports and it seems like it is related to the use of custom visuals (mostly the Card with States visual) that is used in our dashboards. Having dashboards without conditional formatting is a no go for us and we really need a fix as soon as possible.
We're an enterprise customer with over 800 users and use of custom visuals is needed where standard Power BI visuals do not meet requirements, do you guys have an ETA on this as I'm currently in a situation where I cannot even edit some of my reports and need to reconsider what we can and can't make available to our end users.
Thanks.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.