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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Manjuvavil
New Member

Memory Allocation failure on Power Bi desktop app

Error Message:
Memory error: Memory Allocation failure . Try simplifying or reducing the number of queries.
Error happened while loading table '', file '20.HOT cci gpmt ecommerce global (22).company (109).0.idf'. (HOT cci gpmt ecommerce global (22)).

 

Initially we used direct mode for our query.

recently we moved from direct mode to import mode.

After we moved the file size became huge like around 5 GB. 

and when I open this file getting memory allocation error.

 

trouble shooting steps done:

-We tried to reduce the timeline of our query like intially we get data for 12 month the file size is around 5 GB, after we tried for 6 months it is working fine.

-Going forward we tried for 8 months we are not facing any issue.

-Now when we try to get data for 10 month we are getting same error like memory allocation.

-We saved all file in onedrive only, cleared temp files.

 

Please help out.

 

 

screenshot (3).png

 

1 ACCEPTED SOLUTION
v-heq-msft
Community Support
Community Support

Hi @Manjuvavil ,
Based on your description, it appears that your issue is that the conversion from DirectQuery to import mode significantly increases the file size, resulting in memory allocation errors when trying to load larger datasets.
You can try these methods to resolve the issue. First, you can use modeling data reduction techniques, including removing unnecessary columns and rows and optimizing column data types. These steps can significantly reduce the memory footprint of Power BI files.
Second, implementing an incremental refresh strategy can help manage the size of your dataset by refreshing only the data that has changed rather than the entire dataset. This is especially effective for large datasets that do not require frequent refreshes of the entire data.
You can check out these documents for more information
Data reduction techniques for Import modeling - Power BI | Microsoft Learn
Use storage mode in Power BI Desktop - Power BI | Microsoft Learn
Incremental refresh for semantic models and real-time data in Power BI - Power BI | Microsoft Learn

Best regards,
Albert He

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

View solution in original post

1 REPLY 1
v-heq-msft
Community Support
Community Support

Hi @Manjuvavil ,
Based on your description, it appears that your issue is that the conversion from DirectQuery to import mode significantly increases the file size, resulting in memory allocation errors when trying to load larger datasets.
You can try these methods to resolve the issue. First, you can use modeling data reduction techniques, including removing unnecessary columns and rows and optimizing column data types. These steps can significantly reduce the memory footprint of Power BI files.
Second, implementing an incremental refresh strategy can help manage the size of your dataset by refreshing only the data that has changed rather than the entire dataset. This is especially effective for large datasets that do not require frequent refreshes of the entire data.
You can check out these documents for more information
Data reduction techniques for Import modeling - Power BI | Microsoft Learn
Use storage mode in Power BI Desktop - Power BI | Microsoft Learn
Incremental refresh for semantic models and real-time data in Power BI - Power BI | Microsoft Learn

Best regards,
Albert He

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

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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