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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors