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
ziv
Frequent Visitor

refresh failed due to "out of memory for query result"

Hi

 

I'm using PB over redshift db
I created a report pbix file on the desktop change the connection setting from DirectQuery to Import
then I published it and updated the credentials to the Redshift db (cloud).
data ~40M rows
pbix file size ~110Mg


it works fine in the web too until trying to refresh on the web then it is fails with this error

 

memory refresh error.PNG

 

 

 

 

 

 

 

 

 

 

any idea how to handle it ?

 

Thanks

Ziv

1 ACCEPTED SOLUTION
ziv
Frequent Visitor

Hi

 

I created a agg table having less and only required fileds for analysis without passing the rows limit.

 

I made two tables/view for seperate data set, that cover what mainly was required for fast response

 

Works great for my needs

 

Good luck

Ziv

View solution in original post

16 REPLIES 16
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @ziv,

 

Is Redshift an on-premise database hosted on your machine? Did you add this data source to gateway to enable scheduled refresh?

 

What is the result if you refresh dataset (import mode) manually in desktop? If you connect to Redshift with DirectQuery, does issue persist? 

 

From above error prompt, it looks like it was the heavy data load that caused the failure of power query execution. Please check whetehr this similar thread helpful to your scenario.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Yuliana

 

1. Redshift is on cloud columnar database service by Amazon. as I know there is no need of gateway on cloud 

 

2. doing it manually on desktop, the data is updated and I can work with it as needed.

   with DirectQuery there is no issue on desktop/web

 

3. I don't see a solution in the link attached, also I'm loading an aggregated data with only requried data. 

 

In addition trying to refresh the imported data on web with only 100 rows it works with no errors,

 

Thanks

Ziv

 

 

buchisar
Frequent Visitor

Did you find a solution? I am facing the same problem with auto refresh. Also, when I refresh the desktop i get the same error. However, if I refresh each table one-by-one on desktop it works fine.

Hi there, it could possibly be that you have got 32bit Power BI Desktop installed which will have a memory limit which will mean you get the error above.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Thanks Gilbert, but unfortunately thats not the problem. I do have "Version: 2.56.5023.1021 64-bit (March 2018)" installed.

Can someone please help me 😞

 

PBI refreshes fine when I manually refresh each table but throws out-of-memory error on a "bulk" refresh. I even disabled "Parallel loading of tables" in options.

Do you have 32bit Power BI Installed?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hi GilbertQ, i hae 64 bit installed and not 32 bit.

When refreshing what do you see in Task Manager which exe gets really large?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

On top is the process: "CefSharp.BrowserSubprocess"

 

pbi.PNG

Weird as that would indicate the amount of Visuals you have on your screen.

Do you have any Custom Visuals?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

I have quite a few visuals on the page and most of them are custom. (page 01 custom visuals: Calendar visual, cards with states, chiclet slicers, quadrant chart. page 02 custom visuals: shuffle stack, chloropeth map, chiclet slicers and Hirearchy slicer.)

Capture.PNG

Can it refresh with no custom visuals?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

No. I removed all custom visuals and few default visuals and left the page with just 3-4 default visuals. I still get the same error. When I individually refresh the tables it always works fine.

ziv
Frequent Visitor

Hi

 

I created a agg table having less and only required fileds for analysis without passing the rows limit.

 

I made two tables/view for seperate data set, that cover what mainly was required for fast response

 

Works great for my needs

 

Good luck

Ziv

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