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 September 15. Request your voucher.

Reply
satya_bhotra
Frequent Visitor

power Bi desktop ran out of memory trying to save the data model

Getting error message when trying to save the data model.

 

Unable to save the 

5 REPLIES 5
Anonymous
Not applicable

Your ideas is so great @Shosher 

Hi, @satya_bhotra 

As stated in the error message, it may be due to a memory allocation failure.

This is usually caused by running out of memory on behalf of the hardware to process a given task.
It is recommended that you increase the available memory.

You can also try removing unused columns and filtering data to reduce model size in PowerQuery.

Other related threads:

Solved: Power BI Desktop ran out of memory trying to save ... - Microsoft Fabric Community

vjianpengmsft_0-1720147152040.png

Solved: Memory error: Memory Allocation failure. - Microsoft Fabric Community

vjianpengmsft_1-1720147197037.png

Solved: Not Enough Memory Space - Microsoft Fabric Community

vjianpengmsft_2-1720147242900.png

Solved: Report out of memory - Microsoft Fabric Community

vjianpengmsft_3-1720147286411.png

 

 

 

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

Here is a blog post how to remove all unused columns to optimize your model. @satya_bhotra 

------------------------------------
Brunner BI focusing on Microsoft Power BI development and consulting
Developers of external tool "Measure Killer"
My blog
Shosher
Regular Visitor

Lets start with where you are developing, Is it a virtual machine? A remote desktop enviroment? A cheapo company laptop with a grand total of 3gb of ram. 

Whats the dataset size? we working with millions of rows or just a couple thousand. From there we might be able to help allot better!

As a quick side solution you can download Tabular Editor 2 and connect the file directly. From that point you can save the content as TOM file structure. That should save any changes you have so far while you figure out the problem. Dont want you to lose any of that work on what's likely the end of your workday!


Dont forget to set me as the answer if this helped!

 

Hi Shosher,

 

Thank you for looking in this matter.

 

Its a Citrix desktop (Private XD). Dataset size is 1027 kb. 

its more than millions of rows .

 

The user is using the import concept to pull table < 5000 rows  and Direct Query to pull > 5000 rows connecting to oracle database.

 

Regards,

Satya

 

Im sorry its tough to say at this point. It could be that the data connector is simply relaying a comment made from your oracle database, without screenshots i really couldnt tell. 

Try using a different device to replicate the issue. Otherwise switch to import mode for now. Hybrid models have never been that stable in practice, especially  when using third party datastorage. 

 

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.