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
neetu14
Microsoft Employee
Microsoft Employee

Memory Error while refreshing the dataset in Power BI Service

Is there any way to resolve this issue apart from increasing the capacity memory storage.

 

How can I optimize the data? 

 

Error.JPG

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

Hi @neetu14 ,

 

" I have a premium capacity."

1. Check the size of the data set;

y12.PNG

2. Check memory usage;

y13.PNG

3. If both of the above conditions are positive, there may be a bug, please create support ticket .

Please refer to this link for specific content 

 

"Problem: Refresh is failing either with SQL Query Timeout or Memory Allocation Failure for the first time."

Try to update the gateway to the latest version:

https://powerbi.microsoft.com/en-us/gateway/ 

 

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.

View solution in original post

5 REPLIES 5
v-lionel-msft
Community Support
Community Support

Hi @neetu14 ,

 

" I have a premium capacity."

1. Check the size of the data set;

y12.PNG

2. Check memory usage;

y13.PNG

3. If both of the above conditions are positive, there may be a bug, please create support ticket .

Please refer to this link for specific content 

 

"Problem: Refresh is failing either with SQL Query Timeout or Memory Allocation Failure for the first time."

Try to update the gateway to the latest version:

https://powerbi.microsoft.com/en-us/gateway/ 

 

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

@neetu14 

You may want to take a look on the data reduction technicques 

https://docs.microsoft.com/en-us/power-bi/guidance/import-modeling-data-reduction

Thanks. I have a premium capacity. I read the article you posted and followed some steps like removing the default summarization.

 

Situation: I have only loaded 3 days of data by putting parameters and enabling incremental refresh and successfully publishing the report to Power BI Service. I know Power BI Service will override the parameters when it refreshes the dataset for the first time loading all the historical data and use incremental refresh afterwards.

 

Problem: Refresh is failing either with SQL Query Timeout or Memory Allocation Failure for the first time.

Anonymous
Not applicable

Hi @neetu14 

 

Hope your problem resolved.  Can you provide more details about the solution which would help others in the community and also mark the post as accepted solution.

My problem is not solved yet. i have created a support ticket to get help with this issue.

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