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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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