Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I am experiencing a recurring issue with Power BI Service while refreshing a dataset connected via an on-premises data gateway using an ODBC connection to MySQL. The refresh process fails after approximately 2 hours with an "Out of Memory" error:
ERROR [HY000] [MySQL][ODBC 9.2(w) Driver][mysqld-8.0.41] MySQL client ran out of memory
Interestingly, the same dataset refreshes without any problems in Power BI Desktop, which suggests that the issue might be related to the gateway configuration or resource limitations on Power BI Service.
The RAM capacity is the same in both cases.
Could you please assist me in diagnosing and resolving this issue?
Thanks a lot.
Solved! Go to Solution.
Have you considered using incremental refresh? Or is your query not folding?
The RAM capacity is the same in both cases.
Have you configured the gateway service to actually use most all the RAM? You may need to specify that manually.
<setting name="MemoryUtilizationPercentageThreshold" serializeAs="String">
<value>95</value>
</setting>
Can you double the memory of the gateway VMs?
Hi @Simomazzi ,
Just wanted to follow up if you have tried working out with the given solution.
If you are still facing the issue, you can try visiting this link below where a similar issue was encountered and solved.
Hope this helps!
Have you considered using incremental refresh? Or is your query not folding?
The RAM capacity is the same in both cases.
Have you configured the gateway service to actually use most all the RAM? You may need to specify that manually.
<setting name="MemoryUtilizationPercentageThreshold" serializeAs="String">
<value>95</value>
</setting>
Can you double the memory of the gateway VMs?
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
18 | |
18 | |
13 | |
12 |
User | Count |
---|---|
36 | |
22 | |
21 | |
18 | |
12 |