Out of Memory Error Message

legalhustler

Well-known Member
Joined
Jun 5, 2014
Messages
1,171
Office Version
  1. 365
Platform
  1. Windows
I'm using Excel Office 365 and using Power Query to do various types of transformations. My file size is less than 1MB but my queries are slow to load and eventually I get a "Out of Memory" exception error. I even exported all my queries to a new workbook just in case the previous file was corrupt, but the issue persists still.

I even changed the performance options of my laptop to "adjust for best performance" and only have Excel open but to no avail, I keep getting this error message. If I have a smaller number of queries to run it does work without any issues, but my file size is so small so it should be able to handle less than 1MB. Please advise.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Here is a power tip that will help anyone else in the struggle: Open Excel file > Data tab> Get Data > Query Options > Data Load > uncheck "Allow data preview to download in the background"

This made my queries load fast from 10 mins to 15 secs. The reason being is I have referenced queries which is a good practice in Power BI Desktop but not for Excel! Who would of known.....This is what caused my workbook to crash every time. Hope this is helpful.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,977
Members
449,200
Latest member
Jamil ahmed

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top