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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.