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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.