Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
I have a dataset of 100MB size. When I refresh this dataset on the Service, it returns with a Memory exception. Saying the capacities available 3GB had been exceeded.
I know, when refreshing a dataset, at least the size of the dataset is taken into the RAM, but why 30 times the size in my case seems to be alot.
How is it possible to check, which part is consuming the memory?
I tracked already msmdsrv.exe when refreshing the same report in Power BI Desktop.
Here utilized RAM raises to >1GB (obeserved a 1.182 at most)
But then, still how to check which part is using the memory? Also after Refresh on PI Desktop the allocated RAM is never be released again. It stays at 0.9GB.
Also I used the SQLServer profiler to track the refresh metrics. Followed this very good article (https://dax.tips/2021/02/15/visualise-your-power-bi-refresh/). The output of this report shows no problems on the Queries to ADX (the slowest now 11 secs) and no excessive Processing times on one of the tables.
And here also, no reporting on memory usage.
Is there any other path to descrease Memory usage during refresh but eliminating all calculated columns and tables? Since the report makes use of the some of these.
Any ideas welcome and thanks in advance!
---Addendum (1 hour later)---
I have removed every calculated table and calculated column from the report (vpax shows 0 calculated table, and 0 calculated columns). Still for the DbSet-Size 110MB the Power Service returns on Refresh with a Memory Exception:
"Resource Governing: This operation was canceled because there wasn’t enough memory to finish running it. Either increase the memory of the Premium capacity where this dataset is hosted or reduce the memory footprint of your dataset by doing things like limiting the amount of imported data. More details: consumed memory 2983 MB, memory limit 2964 MB, database size before command execution 107 MB"
Solved! Go to Solution.
Hi community,
until today, we had no solution, but finally found the problem. But as we have found a solution, I try to explain it and write it down, so if anyone has the same problem, must not search any longer - hopefully.
This problem is only related to when using the Azure Data Explorer (ADX) to read data from.
The ADX connector in Power BI has some issues (or is not meant to be used for >300.000 records/~25 columns), and when instead using the SQL endpoint of ADX, the memory problems on refreshing on the Power BI Service do no longer occur. The ADX connector seems not to be efficient when loading data and thus makes extensive use of the memory.
That said, when connecting to an ADX, it is recommended to:
This process at least solved out problem on extensive memory usage (error on using >3GB on refresh), although the overall dataset on the service has a size of ~100MB.
Maybe this helps someone else.
Hi community,
until today, we had no solution, but finally found the problem. But as we have found a solution, I try to explain it and write it down, so if anyone has the same problem, must not search any longer - hopefully.
This problem is only related to when using the Azure Data Explorer (ADX) to read data from.
The ADX connector in Power BI has some issues (or is not meant to be used for >300.000 records/~25 columns), and when instead using the SQL endpoint of ADX, the memory problems on refreshing on the Power BI Service do no longer occur. The ADX connector seems not to be efficient when loading data and thus makes extensive use of the memory.
That said, when connecting to an ADX, it is recommended to:
This process at least solved out problem on extensive memory usage (error on using >3GB on refresh), although the overall dataset on the service has a size of ~100MB.
Maybe this helps someone else.
Hi @stanbeamish ,
You may optimize the dataset.
Please take a look at this document.
https://learn.microsoft.com/en-us/power-bi/enterprise/service-premium-capacity-optimize .
Best Regards,
Jay
Hi,
thank you for your message.
Unfortunately, it does not take me any further.
I have startet with an empty report and add the tables one by one. No visuals, no data relations in Power BI. Still the refresh shows a Memory exception for the report that has 100MB.
As soon as I have a solution I will post it here.
Regards
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
39 | |
21 | |
21 | |
19 | |
10 |
User | Count |
---|---|
35 | |
34 | |
34 | |
19 | |
14 |