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
Sai_Akash
New Member

DataSource.Error: MySQL: Out of memory; check if mysqld or some other process uses all available

Hi BI Team,

I’m encountering an "Out of Memory" error when trying to connect Power BI to my MySQL database hosted on AWS RDS. The error message suggests checking if mysqld or another process is using all available memory, and mentions using 'ulimit' or adding more swap space. Has anyone faced this issue before? If so, what steps did you take to resolve it? Any advice on adjusting memory settings in either Power BI or MySQL would be greatly appreciated.

Regards,
Sai AkashRDS Issuse.png

 

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @Sai_Akash  - Yes, this "Out of Memory" error in MySQL on AWS RDS while connecting with Power BI is a common issue, especially if your RDS instance has limited memory or if queries are too large

Run the following query in MySQL Workbench or any MySQL client to check current memory

SELECT
variable_name, variable_value
FROM
performance_schema.global_status
WHERE
variable_name IN ('Threads_connected', 'Threads_running', 'Innodb_buffer_pool_pages_free', 'Innodb_buffer_pool_pages_total');

check active processes consuming memory

SHOW PROCESSLIST;

If memory is still insufficient:

Upgrade to a larger RDS instance (e.g., from db.t3.micro → db.t3.medium).
Enable Auto-scaling if necessary.

 

try the above steps hope this helps.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
rajendraongole1
Super User
Super User

Hi @Sai_Akash  - Yes, this "Out of Memory" error in MySQL on AWS RDS while connecting with Power BI is a common issue, especially if your RDS instance has limited memory or if queries are too large

Run the following query in MySQL Workbench or any MySQL client to check current memory

SELECT
variable_name, variable_value
FROM
performance_schema.global_status
WHERE
variable_name IN ('Threads_connected', 'Threads_running', 'Innodb_buffer_pool_pages_free', 'Innodb_buffer_pool_pages_total');

check active processes consuming memory

SHOW PROCESSLIST;

If memory is still insufficient:

Upgrade to a larger RDS instance (e.g., from db.t3.micro → db.t3.medium).
Enable Auto-scaling if necessary.

 

try the above steps hope this helps.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





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.

Top Solution Authors