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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.

Top Kudoed Authors