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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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