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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Data import of large dataset shows memory error

Hi,

We are in the process of creating a report out of a table that contains 70M records. Our report query would pull around 60 M of data from this table.

 

Out Database source is Postgres. We have hosted our Power BI in a windows virtual machine. The RAM is 10 GB and 2 CPU processors are in place in this server.

 

The issue is when we try pulling the data from the DB - View which contains around 60M data, it shows memory allocation error.

I have tried reducing the dataset to 25 M also. Still same memory allocation error. But when I load the same data from a CSV file, the data gets imported to Power Bi.

 

Can anyone please suggest a way how can I improve the performance of Power BI so that I can pull data directly from DB without using file as a source.

1 REPLY 1
edhans
Super User
Super User

Are you using the 32bit version of Power BI desktop? That would cause this, and there is no fix, short of moving to the 64 bit version. The 32bit app is limited to 2GB of RAM, and 70 million records would probably break that barrier depending on the number of fields, other tables, etc.

 

If you are using the 64bit version, I've seen memory errors and crashes if the data has non-printing ASCII characters, which you can strip off using a CLEAN transformation in Power Query before it gets imported into the data model.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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 Solution Authors