Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Cmou
New Member

Embedded PowerBImemory leak

We are developing an application using the Mozilla FrameWork that visualizes a Power BI report using the principles described in the document "Tutorial: Embed Power BI content using a sample embed for your customers' application (https://learn.microsoft.com/en -us/power-bi/developer/embedded/embed-sample-for-customers) and Power Bi Client NodeJS API. It works correctly.

On the other hand, when we change the active page with the report.setPage API function, the current memory increases very quickly and is not freed. I reproduced the same problem using the Embed for your customers test application in NodeJS (https://github.com/microsoft/PowerBI-Developer-Samples/tree/master/NodeJS/Embed%20for%20your%20custo... /AppOwnsData) with Firefox, Edge and Chrome browsers.

For this I modified the code of the file “public/js/index.js” line 46 to change the page every 5 seconds:

 

// Triggers when a report schema is successfully loaded report. on("loaded", function () { console.log("Report load successful"); report. getPages(). then(pages => { let num = 0; setInterval(() => { num = (num+1)%pages.length; report.setPage(pages[num].name) }, 5000) }) });

 

In the task manager, the memory increases very quickly (several hundred Mb per minute) and is only freed when the page is reloaded.

The test was performed with the "Service Principal" authentication method with the report "COVID-19 US Tracking Sample.pbix" (https://github.com/microsoft/powerbi-desktop-samples/tree/main/Sample %20Reports).

Best Regards

1 REPLY 1
lbendlin
Super User
Super User

You can raise an issue at https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues . If you have a Pro license you can consider raising a Pro ticket at https://admin.powerplatform.microsoft.com/newsupportticket/powerbi

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.