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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
tomislav
Frequent Visitor

Very high memory consumption on refresh

HI, I have very high memory consumption when I load from Power Query to PBI Desktop or when I'm doing plain refresh. My question is how can I see what is eating so much memory?

Thanks

9 REPLIES 9
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @tomislav ,

 

use the Query Diagnostics...

https://docs.microsoft.com/en-us/power-query/querydiagnostics

 

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Anonymous
Not applicable

Thanks for inputs, I work with DAX Studio and Tabular Editor, and I did all the things for memory optimization, and I do not have any memory problems on PQ level, first sign of trouble is hit Close & Apply in PQ.  Load takes 2-3 minutes, and goes from 4GB RAM to 32 GB. Problem is that I do not see what is sucking RAM to level of 32GB? Does model do refresh of all report pages when it loads from PQ? Or is it coming from calculated tables and calculated columns?

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

what is your data structure? How many tables, columns and rows do you use?

In the PQ Editor you only work with a preview of data.

After hit Close & Apply in PQ, the entire dataset is loaded from the source into the Power BI Data Model.

 

 

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Anonymous
Not applicable

Total size of file 220MB, 39 tables,484 columns.

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

what data source are you using?

Are all columns and tables really needed?

it is recommended to reduce the required data at the source as early as possible.

This reduces the required bandwidth, memory, etc.

 

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Hi @Anonymous ,

 

It may be that the data imported is too large (If you used Direct Query mode, it may be that the performance of the server where your data source is located is too poor), causing the query to consume too much computer resources.

 

Best regards,
Lionel Chen

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

Anonymous
Not applicable

No, I work in Import mode not Direct Query. I will try returning to last working version of file and start from there. Thanks

amitchandak
Super User
Super User

@tomislav ,

Refer, if this can help https://docs.microsoft.com/en-us/power-bi/desktop-performance-analyzer

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Greg_Deckler
Community Champion
Community Champion

Have you run Query Diagnostics from the Tools menu in Query Editor?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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