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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

0

Embedded PowerBI performance and memory leak

We are using your Power BI Embedded solution in our portal and we got problem with rendering and content loading performance.

Our portal page consists of several embedded powerBi reports inside an iframe. The performance has been very slow just for content loading, normally at 40s which is unacceptable for our users. Our DB queries run fast under 2-3 seconds.

We use memory analysis tool to measure the memory consumption on the IE browser. When the page was loaded and rendered in the browser, the system memory was assigned to the browser to do these tasks. When the page was reloaded, the system memory still is not released and assigned more to get the reloading done until it hung and crashed.

 

We have reviewed and confirm that we are using the same way to implement for Power BI Embedded on our website with 2 following demo site from Microsoft. Please help to review the issue with browser memory and let us know what need to be updated for the Power BI Embedded.

 

The 2 following examples from Microsoft have the same issue about memory leak as we do now.

http://azurewebsiteexperience.azurewebsites.net/dashboard/FleetSummary

https://microsoft.github.io/PowerBI-JavaScript/demo/code-demo/index.html

 

Status: Delivered
Comments
v-haibl-msft
Employee

@giangnt2

 

How did you reload the embedded report? I tried to refresh http://azurewebsiteexperience.azurewebsites.net/dashboard/FleetSummary continuously in IE once it is loaded completely, but the system memory did not increase continuously. Did I miss something here?

 

Best Regards,
Herbert

Vicky_Song
Impactful Individual
Status changed to: Needs Info
 
tuanta
Regular Visitor

Here is how we tried with Fleet Summary: press F5 about 13 times (you can see several peaks in the chart) and memory occupied by IE11 raised from 350Mb to 1.3Gb. The browser run really slow after that and "not responding" for a while.

 

Our application got the same problem. Could you give us some advice to solve this?

PowerBI Fleet.png

 

v-haibl-msft
Employee

@tuanta

 

I can repro the same issue when using memory analysis tool. But if I turn off the memory analysis tool and check the memory usage in task manager, I will not see the memory leak.

Could you please try to turn off the use memory analysis tool and check the memory usage in task manager?

 

Best Regards,
Herbert

 

v-haibl-msft
Employee

@tuanta

 

Could you please provide a fiddler trace to us, it should be helpful to address this problem exactly.
You can start the trace before open and refresh the visualisations, and share the saved .saz file to us through online file service like OneDrive.

 

Best Regards,
Herbert

tuanta
Regular Visitor

@v-haibl-msft

 

Could you please have a look on .saz file and give us your insight ?

https://1drv.ms/u/s!AhsWyzNYcYF16BOSz2y2ImZBoB61

 

Thank you,

Tuan

v-haibl-msft
Employee

@tuanta

 

This issue is reported internally and currently tracked by CRI 34438858.

 

Best Regards,
Herbert

v-haibl-msft
Employee

@tuanta

 

If the report is rendered in IE, have you checked the performance on Chrome? Do you see the same behaviour?

 

Best Regards,
Herbert

Vicky_Song
Impactful Individual
Status changed to: Accepted
 
v-haibl-msft
Employee

@giangnt2 @tuanta

 

This is a known issue in IE11 with respect to iFrames. 
https://connect.microsoft.com/IE/Feedback/Details/1742276

 

The workaround is to use another browser such as Edge or Chrome.

 

Best Regards,
Herbert