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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Simomazzi
Frequent Visitor

Refresh Power bi service gateway ODBC mysql issue

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.

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

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?

 

View solution in original post

3 REPLIES 3
Simomazzi
Frequent Visitor

Hi @v-kpoloju-msft , this is the solution. Thanks

v-sdhruv
Community Support
Community Support

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.

https://community.fabric.microsoft.com/t5/Desktop/ERROR-HY000-MySQL-ODBC-8-0-w-Driver-mysqld-5-7-32-...

Hope this helps!

lbendlin
Super User
Super User

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?

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.